Skip to content

Tirth1410/CSES

Repository files navigation

CSES Problem Set Solutions (Java)

This repository serves as a comprehensive archive of solutions to the CSES Problem Set, implemented strictly in Java. It documents a continuous journey through algorithmic problem solving, focusing on efficiency, code readability, and modular design.

The primary goal of this collection is to provide optimal solutions that adhere to strict time and space complexity constraints, serving as a reference for standard algorithms and data structures in a competitive programming context.

Usage

To utilize this repository for study or testing:

  1. Clone the repository:

    git clone [https://github.com/Tirth1410/CSES.git](https://github.com/Tirth1410/CSES.git)
  2. Navigate to the directory:

    cd CSES
  3. Compile and Execution: Navigate to the specific category folder and compile the desired solution.

    cd SortingAndSearching
    javac Missing_Number.java
    java Missing_Number

Directory Structure

The repository is organized hierarchically by topic to ensure easy navigation:

cses-java-solutions/
│
├── SortingAndSearching/
│   ├── Missing_Number.java
│   ├── Apartments.java
│   └── ...
├── DynamicProgramming/
│   ├── Dice_Combinations.java
│   ├── Minimizing_Coins.java
│   └── ...
├── GraphAlgorithms/
│   ├── Building_Roads.java
│   ├── Projects.java
│   └── ...
├── RangeQueries/
│   ├── Range_Sum_Queries_I.java
│   └── ...
├── README.md
└── LICENSE

Contribution and Feedback

While this is primarily a personal record of practice and improvement, contributions that optimize existing solutions or provide alternative approaches are welcome.

If you identify an edge case that fails or an opportunity to reduce the time complexity of a solution, please submit a pull request or open an issue for discussion.


This repository is maintained by Tirth Gohil as part of an ongoing pursuit of mastery in algorithms and computer science fundamentals.

About

The solution of CSES problems in JAVA.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages