Welcome to the CSES Problem Set Solutions repository! This repository contains well-documented, efficient, and tested solutions to the CSES Problem Set, all written in Java.
The CSES Problem Set is a collection of competitive programming problems often used for practice in data structures, algorithms, and mathematical problems. This repository aims to provide:
- 🎯 Optimal Java solutions
- 📄 Well-structured and clean code
- 📚 Detailed explanations and comments
If you are a beginner or an experienced programmer looking to brush up on your skills, feel free to explore and contribute!
- Clone the repository:
git clone https://github.com/Tirth1410/CSES.git
- Navigate to the directory:
cd CSES
- Compile and run any problem's solution:
javac ProblemName.java java ProblemName
Each solution is inside its own file, following the naming convention of the CSES problem.
Here's how the repository is organized:
cses-java-solutions/
│
├── SortingAndSearching/
│ ├── Missing_Number.java
│ ├── Appartments.java
│ └── ...
├── DynamicProgramming/
│ ├── Dice_Combinations.java
│ ├── Minimizing_Coins.java
│ └── ...
├── GraphAlgorithms/
│ ├── Building_Roads.java
│ ├── Projects.java
│ └── ...
├── README.md
└── LICENSE