🚀 This repository contains the Top 100 Java coding questions frequently asked in interviews. It is designed to help beginners and job seekers improve their coding skills, master logic building, and crack technical interviews.
- Basic Java Programs
- Arrays & Strings
- Searching & Sorting
- Recursion
- OOPs Concepts Coding
- Linked List
- Stack & Queue
- Trees & Graphs
- Dynamic Programming
- SQL + Java Based Questions
- Multithreading & Exception Handling
- System Design Mini Exercises (Java Specific)
- Try solving the problem yourself first
- Compare your solution with the code in this repo
- Read explanations and optimize your code
- Practice daily for best results
📁 top-100-java-interview
│
├── Basic_Programs
├── Arrays
├── Strings
├── Searching_Sorting
├── Recursion
├── LinkedList
├── Stack_Queue
├── Trees
├── Graphs
├── Dynamic_Programming
├── OOPs_Concepts
└── Multithreading_ExceptionHandling
Each section includes problem statement + solution + explanation.
| No. | Topic | Problem | Status |
|---|---|---|---|
| 1 | Basic | Hello World Program | ✔️ Done |
| 2 | Basic | Leap Year Check | ✔️ Done |
| 3 | Basic | Factorial Number | ⏳ Adding |
| 4 | Array | Find Largest Element | ⏳ Adding |
| 5 | Array | Reverse an Array | ⏳ Adding |
| ... | ... | ... | ... |
| 100 | DP | TBD | 📌 Planned |
🔄 This list will be updated regularly.
- Java 8 or above
- Any IDE (IntelliJ IDEA, VS Code, Eclipse) or simple terminal
Want to contribute?
- Fork the repo
- Add your code in the respective folder
- Create a Pull Request
All valid & optimized solutions are welcome! 💡
For queries, suggestions, or collaboration: 📧 Email: (Add Later) 💼 Linkedin: (Add Link Later)