# CodingBat Java Solutions
This repository contains my organized solutions to the Java practice problems on [CodingBat](https://codingbat.com/java).
All solutions are grouped by their original CodingBat categories so you can easily browse, reference, or compare approaches.
---
## 📁 Folder Structure
Each folder corresponds to a CodingBat Java problem set:
warmup-1/
warmup-2/
string-1/
string-2/
string-3/
array-1/
array-2/
array-3/
logic-1/
logic-2/
logic-3/
map-1/
map-2/
recursion-1/
recursion-2/
AP-1/
Inside every folder, each `.java` file represents a single CodingBat problem.
---
## 🧠 Purpose of This Repository
- Build and practice core Java problem-solving skills
- Maintain a complete, neatly organized archive of solutions
- Document personal learning and coding strategies
- Provide clean, readable reference solutions for others
---
## 📝 File Format
Each Java file typically includes:
- Problem name
- Direct link to the CodingBat problem
- My solution in a clear, readable format
- Optional notes or edge-case thoughts
Example:
```java
/*
CodingBat → Warmup-1 → sleepIn
https://codingbat.com/prob/p187868
*/
public class sleepIn {
public boolean sleepIn(boolean weekday, boolean vacation) {
return !weekday || vacation;
}
}You can run any solution using your preferred Java environment (IntelliJ, VS Code, Eclipse) or from the command line:
javac FileName.java
java FileNameThis is primarily a personal learning project, but suggestions or discussions are welcome! Feel free to open an issue or submit a pull request.
Special thanks to CodingBat for providing a great collection of Java practice problems and helping developers sharpen their skills.
---
Just tell me!