This repository documents my progress in learning Java, data structures, algorithms, and problem solving. I started this journey on August 18, 2025. After several learning phases and breaks in consistency, I restarted from the fundamentals on November 29, 2026 with a clearer goal: build strong Java foundations, improve my problem-solving ability, and prepare for technical interviews.
This is an active learning repository. It contains both earlier practice and the work from my current restart, so it also shows how my understanding and coding style have changed over time.
I am currently rebuilding my foundation from scratch rather than rushing into advanced problems.
My priorities are to:
- Strengthen core Java concepts and write clear, structured code.
- Separate input/output handling from reusable program logic.
- Understand each algorithm instead of only memorizing its implementation.
- Practice dry runs and analyze time and space complexity.
- Build consistency through regular problem solving.
- Progress toward coding interviews and stronger independent problem-solving skills.
The latest work in Basics experiments with separating responsibilities:
Basic.javahandles command-line tags, user input, and output.Logic.javacontains the reusable methods and conditions.Word.javarenders terminal headings for the selected exercise Generated by KIRO.
Current commands include vote and senior.
The repository contains practice from different stages of my learning journey.
| Area | What I have practiced | Status |
|---|---|---|
| Java fundamentals | Console and file input, data types, methods, conditionals, and basic string handling | Revisiting now |
| Loops | for, while, and nested-loop exercises |
Practiced |
| Pattern problems | Star, number, triangle, pyramid, and matrix-style patterns | Practiced |
| Basic problem solving | Factorial, Fibonacci, palindrome, digit operations, prime checks, and numeric series | Practiced |
| Sorting algorithms | Bubble, selection, insertion, merge, and quick sort | Implemented for learning |
| Recursion | Recursive Fibonacci, merge sort, quick sort, and related exercises | Practiced |
| Logic-building problems | Arithmetic, BMI, even/odd, sums, powers, number guessing, and rectangle overlap | In progress |
| Subset generation | String subsets using bit masking | Practiced |
| LeetCode | Initial exploration of array and string problems | In progress |
Some older exercises are incomplete or use different coding conventions. I am keeping them in the repository because they are part of the learning history, while gradually replacing them with clearer implementations.
DSA/
├── Basics/ # Java fundamentals, input/output, and basic conditions
├── Loops/ # for-loop and while-loop exercises
├── Nested_Loops/ # Nested loops and pattern-building practice
├── Patterns/ # Number and star pattern programs
├── Practice/ # General problem-solving exercises
├── Sorting/ # Sorting algorithms and subset generation
├── LBP/
│ ├── Basic/ # Introductory logic-building problems
│ └── Easy/ # Easy-level problem-solving exercises
├── leetcode/ # LeetCode study and work in progress
└── util/ # Shared input utilities
Sorting/Merge_Sort.java— recursive merge sort.Sorting/Quick_Sort.java— recursive quick sort.Sorting/Subsets.java— subset generation using bit masks.Practice/FibonacciSeries.java— iterative Fibonacci practice.Basics/Basic.javaandBasics/Logic.java— current input/output and logic separation experiment.
- JDK 11 or newer
- A terminal or a Java-compatible IDE
Most programs are standalone Java classes without Maven or Gradle. Compile and run them from their directory.
For the current Basics runner:
cd Basics
javac Basic.java Logic.java Word.java
java Basic vote
java Basic seniorFor a standalone algorithm:
cd Sorting
javac Merge_Sort.java
java Merge_SortInput styles vary because the repository contains exercises from different stages. Some programs read from the terminal, some use hard-coded examples, and a few read from text files.
- August 18, 2025: Started learning Java and DSA from scratch with basic input/output and datatype exercises.
- August–September 2025: Practiced conditions, loops, nested loops, patterns, basic mathematics, and small problem-solving exercises.
- January 2026: Returned to the journey with Fibonacci and sorting practice.
- June–July 2026: Implemented and revisited bubble, selection, insertion, merge, and quick sort, then began exploring LeetCode problems.
- August–September 2026: Worked through basic and easy logic-building exercises.
- November 29, 2026: Restarted from Java fundamentals with an emphasis on structure, consistency, problem solving, and interview preparation.
My planned progression is:
- Rebuild Java fundamentals and basic problem-solving habits.
- Revisit sorting, searching, recursion, and complexity analysis.
- Strengthen array and string problem solving.
- Study linked lists, stacks, queues, hash-based structures, trees, heaps, and graphs.
- Learn backtracking, greedy algorithms, and dynamic programming.
- Solve interview-style problems consistently and document the reasoning behind each solution.
This repository is a work in progress and a record of continuous learning, not a complete DSA reference. The focus is on understanding, steady improvement, and writing better solutions with each new iteration.