Algorithms and Data Structures in C#
This repository includes a comprehensive collection of well-known fundamental algorithms and data structures of computer science implemented in C#.
These algorithms and data structures are the basics behind coding interview questions and a deep understanding of their details is essential for passing these interviewes.
- For a list of algorithms and data structures implemented in this repository see Algorithms and Data Structures.
- To contribute follow coding guidelines.
- To review code API see API Documentation.
Main Features
Algorithms are decorated with time and space complexity attributes.
For complex algorithms, for each unit test an Images folder is provided that shows the step by step execution of the algorithm. Aftr all a picture is worth 1000 lines of code!
This repository is paired with a Udemy Course that teaches all the algorithms and data structures implemented here with animated operations over the same examples demonstrated via this repository's unit tests, and images.
When applicable some algorithms have both iterative and recursive versions.
All methods are tested by unit tests. Other than checking the corecteness of the implementation, unit tests help to understand how to use each data structure and algorithm.
All the public methods have summaries and detailed comments to explain the over all functionality and the logic behind each complex line of code.
Docfx is used to automatically generate API Documentation as the code evolves.
Disclaimer
- The code is extensively tested, and is correct only to the best of the knowledge of the authors. Yet the authors take no responsibility in the correctness of the code. Please use at your own risk.
- The code, views, thoughts, and opinions expressed in this repository belong solely to the authors, and not necessarily to the author’s employer, organization, committee or other group or individual.
References
Contact
- Send questions to PiJei