This repository is a personal Java practice collection where I solve different categories of programming problems — starting with the basics and moving towards advanced challenges. It’s designed to improve problem-solving skills, algorithmic thinking, and coding habits.
-
BasicJavaProblems/→ Beginner-friendly Java programs (Fibonacci, Palindrome, Prime numbers, etc.) -
PatternPrograms/→ Java pattern-printing programs (triangles, pyramids, etc.) -
ArrayProblems/→ Java Array programs (reverse array, duplicate array, etc.)- Each subfolder has its own
README.mdfor explanations.
- Each subfolder has its own
-
More categories (e.g., Intermediate, Advanced, Data Structures, Algorithms) will be added in the future.
✔️ Simple, well-structured Java code examples ✔️ Organized into categories for easy navigation ✔️ Beginner → Advanced progression ✔️ Clean and documented repository
-
Clone the repository:
git clone https://github.com/YashvanthBalaji/javaPrograms.git
-
Navigate into a folder (e.g.,
BasicJavaProblems/). -
Compile and run any Java program:
javac FileName.java java FileName
🔹 Add more advanced problems day by day 🔹 Include Data Structures & Algorithms implementations 🔹 Add LeetCode / HackerRank style problem solutions 🔹 Improve documentation with examples & outputs
This is mainly a personal practice repo, but suggestions and improvements are always welcome! Feel free to fork and contribute.
👨💻 Yashvanth Balaji 🔗 GitHub Profile
⭐ If you find this repository helpful, don’t forget to star it!