Each topic has its own directory, which is further divided into difficulties containing the solutions to the problems within that category along with approach. The filenames correspond to the problem number or a brief description for easier identification.
...cpp
- Question: [Problem Statement]
- Approach: [Brief explanation of the approach used]
- Code: [C++ code of the following approach]
- Time Complexity: [Time complexity analysis]
- Space Complexity: [Space complexity analysis]
Fork the repository. Create a new branch for your contributions: git checkout -b your-branch-name. Make your changes and add your solutions. Commit your changes with descriptive commit messages: git commit -m "Add solution to Problem X". Push your changes to your forked repository: git push origin your-branch-name. Open a pull request on the original repository, explaining the changes you made and why they should be merged.
The solutions in this repository are intended to serve as a reference and learning resource. It is recommended to understand the problem-solving techniques and attempt to solve the problems yourself before referring to the solutions. Striver's A2Z DSA Sheet