A curated collection of Data Structures and Algorithms (DSA) problem solutions from various competitive programming platforms, organized for easy navigation and quick access.
This repository contains my solutions to problems from the following platforms:
- CSES – Solutions from the CSES Problemset, organized by question name and number.
- Codechef – Solutions organized by contest date, problem number, and division type.
- Codeforces – Solutions sorted by contest date, problem number, and division type.
- CodeStudio (Now Coding Ninjas) – Solutions categorized by question name.
- GeeksforGeeks – Solutions written in PascalCase, organized by question name.
- InterviewBit – Solutions organized by question name.
- LeetCode – Solutions arranged by question name and number for easy lookup.
- Data Structures – Modular, reusable implementations of commonly used data structures.
- CP-31 – Contains solutions from the CP-31 sheet by TLE Eliminators, organized by problem rating.
boiler.cpp
– My competitive programming boilerplate with optimized macros, templates, and utility functions.
All filenames follow PascalCase formatting.
- Navigate using either the question name or question number.
- File names include the problem number for fast searching.
- Search solutions by problem name or problem number (matches CSES Problemset index).
- Organized by:
- Contest date
- Problem number (e.g., A, B, C…)
- Division type (Div2, Div3, etc.)
- Find solutions using the problem name.
- Contains subfolders for each Codeforces rating (e.g., 800, 900, 1000).
- Each folder includes solutions for that rating from the CP-31 Sheet by TLE Eliminators.
- Navigate by difficulty level and access clean, optimized C++ solutions.
-
Clone the Repository
git clone https://github.com/lakshitcodes/DSA_Problems.git cd DSA_Problems
-
Browse by Platform
- Navigate into your desired folder:
cd Leetcode cd Codeforces cd GeeksforGeeks cd CP-31 # ...and so on
- Navigate into your desired folder:
-
Search for Problems
- Use your code editor’s search or
grep
/find
to locate problems by name or number.
- Use your code editor’s search or
-
View Solutions
- Click on the files to read clean, commented, and optimized C++ solutions.
This repository is licensed under the MIT License.
Feel free to fork, contribute, and use the code for learning or interviews.
If you find a better solution or want to add new problems:
- Fork this repository.
- Make your changes.
- Submit a pull request!
For updates, tips, or DSA discussion, feel free to connect with me on LinkedIn or explore my other projects on GitHub.
Happy Coding! 💻✨
-- Lakshit Jain