A collection of Java fundamentals, problem-solving practice, and Data Structures & Algorithms implementations in Java. Documenting my learning journey step by step.
This repository documents my journey of learning Java fundamentals and mastering Data Structures & Algorithms (DSA) in Java.
It contains code, notes, and practice problems — starting from the basics and moving towards advanced problem-solving.
- fundamentals/ → Java basics, syntax, OOPs concepts, and beginner problems.
- dsa/ → Core Data Structures & Algorithms organized by topic.
- problems/ → Practice problems to strengthen logic.
✔️ Java Basics (Variables, Datatypes, Operators, Loops, OOPs)
✔️ Problem Solving with Java
✔️ Arrays & Strings
✔️ Linked List, Stack & Queue
✔️ Recursion
✔️ Sorting & Searching Algorithms
✔️ Trees & Graphs
✔️ Dynamic Programming
- Java Fundamentals
- Arrays
- Strings
- Recursion
- Linked List
- Trees
- Graphs
- Dynamic Programming
java-dsa-journey/
│── README.md
│── JavaFundamentals/
│ ├── basics/ # Core beginner topics
│ │ ├── variables/ # Variable, literals, identifiers
│ │ ├── datatypes/ # Primitive & non-primitive datatypes
│ │ ├── operators/ # Arithmetic, relational, logical, unary, binary
│ │ ├── control-flow/ # if-else, switch, loops
│ │ └── patterns/ # Simple pattern printing
│ │
│ ├── functions/ # Methods & function problems
│ │ ├── simple-functions/ # Sum, product, avg etc.
│ │ └── problems/ # Function-based problems
│ │
│ ├── problems/ # General practice problems
│ │ ├── basics/ # Basic problem-solving (sum, area, etc.)
│ │ └── applied/ # Slightly bigger problems
│ │
│ └── oops/ # Object-Oriented Programming (later)
│ ├── classes-objects/
│ ├── inheritance/
│ ├── polymorphism/
│ ├── abstraction/
│ └── encapsulation/
│
│── dsa/ # Core Data Structures & Algorithms
│ ├── arrays/
│ ├── strings/
│ ├── linkedlist/
│ ├── stack-queue/
│ ├── recursion/
│ ├── sorting/
│ ├── searching/
│ ├── trees/
│ ├── graphs/
│ └── dynamic-programming/
│
└── .gitignore # Ignore IDE, build files
-
Clone the repo:
git clone https://github.com/<your-username>/java-dsa-journey.git
-
Open in VS Code / IntelliJ / Eclipse.
-
Compile and run:
javac FileName.java
java FileName