This repository contains my Java solutions to problems from Codeforces.
Solutions are organized by contest ID and problem name, written from scratch, tested, and follow a consistent naming style for easy navigation.
-
Clone the repository:
git clone https://github.com/Harsh6575/codeforces.git cd codeforces
-
Compile the Java file:
javac <filename>.java
-
Run the compiled class:
java <filename>
CF<contestID><problemLetter>_<problemName>.java
Example:
CF2117A_False_Alarm.java
CF
-> CodeForces
2117
-> Contest ID
A
-> Problem Letter
False_Alarm
-> Problem Name
- Strong typing → Catches many bugs at compile time
- Readability → Easy for beginners to follow
- Standard library → Rich set of utilities for competitive programming
- Cross-platform → Runs anywhere with a JVM
java · competitive-programming · codeforces · algorithm · data-structures · problem-solving · cp · java-solutions
- Github : harsh6575
- LinkedIn : Harsh Vansjaliya
- Codeforces : harshvansjaliya
- Codeforces : harsh-vansjaliya.vercel.app