https://github.com/tobbie/c-sharp-algorithms
C# solutions to common data structures and algorithm problems
https://github.com/tobbie/c-sharp-algorithms
algorithms arrays binary-search-tree csharp datastructures dfs dynamic-programming greedy-algorithms heaps linkedlists queues recursion searching sliding-window sorting stacks strings trees trie
Last synced: 8 months ago
JSON representation
C# solutions to common data structures and algorithm problems
- Host: GitHub
- URL: https://github.com/tobbie/c-sharp-algorithms
- Owner: tobbie
- License: mit
- Created: 2020-10-24T17:49:51.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-10-29T23:19:39.000Z (over 1 year ago)
- Last Synced: 2024-10-30T01:51:08.091Z (over 1 year ago)
- Topics: algorithms, arrays, binary-search-tree, csharp, datastructures, dfs, dynamic-programming, greedy-algorithms, heaps, linkedlists, queues, recursion, searching, sliding-window, sorting, stacks, strings, trees, trie
- Language: C#
- Homepage: https://github.com/tobbie/c-sharp-algorithms
- Size: 21.2 MB
- Stars: 7
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
[](https://hits.seeyoufarm.com)
# C# solutions to common data structures and algorithm problems
## Problems are sourced from algoexpert, leetcode and educative.io
The project is a group of class libraries that contain solutions to fairly common algorithm and data structure problems.
The solutions are organised by difficulty (Easy - Very Hard) per algorithm or data structure being solved for. A good number of the solutions have tests you can run to confirm they work.
### Data Structures covered include:
* Arrays
* LinkedLists
* Strings
* Graphs - DFS, BFS
* Heaps
* Stacks
* Queues
* Trees - Binary Search Trees and Binary Trees
* Trie - Prefix Trie and Suffix Trie
### Algorithms covered include:
* Sorting
* Searching
* Recursion
* Greedy
* BitwiseOperation
* Dynamic Programming
* Sliding Window
In addition to the above, there's a class library project that contains common patterns to solve certain types of problems and another with popular
Microsoft interview questions.
To get started, clone the repo, build the project, then run `dotnet test` to see all tests run.
This solution requires `.NET 6` to run. Happy coding! :)
[source](https://www.bigocheatsheet.com/)
### To contribute
Please visit [this page](https://github.com/tobbie/c-sharp-algorithms/blob/main/CONTRIBUTING.md)