Welcome to the comprehensive repository of data structures and algorithms, primarily implemented in C++ with a bit of Java! ππ This repository aims to provide clear explanations, test cases, and solutions that range from naive brute force to highly optimized approaches.
- Wide Range of Algorithms: Covers various data structures and algorithms including arrays, linked lists, stacks, queues, trees, graphs, and more.
- Multiple Approaches: Solutions from naive brute force to optimized algorithms.
- Complete Examples: Each implementation includes a full code example with a main function for easy testing.
- Detailed Explanations: Clear explanations to help understand the concepts and implementations.
To get started, clone this repository to your local machine:
git clone https://github.com/imShubh03/data-structures-algorithms.git
compile the C++ code using:
g++ filename.cpp
./a.exe (for windows) or ./a.out (for linux)
compile the Java code using:
javac filename.java
java classname
Each algorithm or data structure is provided in its own file with a main function to demonstrate its functionality. You can run the examples to see the implementation in action.
Contributions are welcome! If you have improvements, new algorithms, or bug fixes, please feel free to submit a pull request. You can also open issues to report bugs or suggest features.
For any questions or suggestions, you can reach out to me at :
shubhamsonake307@gmail.com.
Thank you for checking out this repository. Happy coding! πβ¨