Solutions to leetcode problems written in rust.
Each solution is a lib
crate. To test all the solutions at once run this shell command in the repo folder:
$ cargo test
To test an individual solution go to its corresponding folder and execute the same cargo test
command.
Problem | Category |
---|---|
Odd Even Linked List | Linked Lists |
Add Two Numbers | Linked Lists |
Group Anagrams | Strings |
Longest Palindromic Substring | Strings |
Longest Substring Without Repeating Characters | Strings |
Binary Tree Inorder Traversal | Binary Trees |
Number of Islands | Graphs |
3Sum | Arrays |
Count and Say | Arrays |
Set Matrix Zeroes | Arrays |
Increasing Triplet Subsequence | Arrays |