This repo has all the algorithms that can help you to prepare for a coding interview
The Projects are organized in different folder:
- Arrays
- BackTracking
- Bit Algorithms
- Disjoint Sets
- Distributed Algorithms
- Dynamic Programming
- Geometry
- Graphs
- Greedy Algorithms
- Heeps
- Linked List
- Math Problems
- Matrix Problems
- Misc
- Permutation and Combination
- Properties
- Randomized Algo
- Recursion
- Search
- Sorting
- Stacks and Queues
- String problems
- Trees
- Trie
Open the project in Visual Studio or your favourite IDE (VS Code) and run the file program.cs. program.cs file will have all the Testcases to test each algorithm. The test cases are not exhaustive and I would like to encourage the community to add more algorithms and test cases.
Also if you find any bugs with the implementation, feel free to send a pull request.
Pull request is encouraged for:
- Any bugs
- Optimizations
- Additional test cases