Skip to content

lakshitcodes/DSA_Problems

Repository files navigation

DSA Problems

A curated collection of Data Structures and Algorithms (DSA) problem solutions from various competitive programming platforms, organized for easy navigation and quick access.

Overview

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.


Navigation Guide

🔹 LeetCode

  • Navigate using either the question name or question number.
  • File names include the problem number for fast searching.

🔹 CSES

  • Search solutions by problem name or problem number (matches CSES Problemset index).

🔹 Codeforces & Codechef

  • Organized by:
    • Contest date
    • Problem number (e.g., A, B, C…)
    • Division type (Div2, Div3, etc.)

🔹 GeeksforGeeks

  • Find solutions using the problem name.

🔹 CP-31

  • 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.

How to Use

  1. Clone the Repository

    git clone https://github.com/lakshitcodes/DSA_Problems.git
    cd DSA_Problems
  2. Browse by Platform

    • Navigate into your desired folder:
      cd Leetcode
      cd Codeforces
      cd GeeksforGeeks
      cd CP-31
      # ...and so on
      
  3. Search for Problems

    • Use your code editor’s search or grep/find to locate problems by name or number.
  4. View Solutions

    • Click on the files to read clean, commented, and optimized C++ solutions.

License

This repository is licensed under the MIT License.
Feel free to fork, contribute, and use the code for learning or interviews.


Contribute

If you find a better solution or want to add new problems:

  1. Fork this repository.
  2. Make your changes.
  3. Submit a pull request!

Stay Connected

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

About

This Repository contains the solutions for DSA Problems and Contests from various platforms.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages