Documenting my Data Structures and Algorithms journey in Java 🚀
This repository contains my solutions, detailed explanations, and learnings as I practice DSA concepts and problem-solving in Java.
- Total Problems Solved: 280+
- Topics Covered: Arrays, Strings, Recursion, Linked Lists, Stacks & Queues, Binary Search, Bit Manipulation, and more.
- Main Platform: LeetCode (along with standard problems)
- Consistency: 450+ commits
Last Updated: July 2026
| Topic | Description | Key Concepts |
|---|---|---|
Arrays |
Array manipulation, two-pointers, sliding window | Sorting, Rotation, Subarrays |
BinarySearch |
Binary search on sorted & 2D arrays | Search variations |
bit-manipulation |
Bitwise operations & tricks | Counting bits, XOR techniques |
linked-list-problems |
Singly & Doubly Linked Lists | Reversal, Cycle detection, Merging |
recursion |
Recursive patterns & backtracking | Subsets, Permutations |
stacks-and-queues |
Stack, Queue, Monotonic Stack | Parentheses, Next Greater Element |
string-problems |
String manipulation & algorithms | Palindromes, Substrings |
sliding-window-and-two-pointers |
Sliding window problems combined with two pointers | medium, hard, nice subarrays |
greedy-algorithms |
Greedy Problems covering basic, medium and some advanced problems | candy, n-meetings, railway platforms, etc. |
binary-trees-problems |
Binary trees standard problems including traversal, medium and hard problems | traversal, height, depth, construction |
binary-search-trees-problems |
BST problems include concept understanding, medium and subsequently hard problems | BST Iterator, two sum IV, lowest common ancestor |
graphs |
Understanding graph traversal and algorithms and their implementation in word problems | BFS, DFS, topo-sort, Djisktra's Algorithm, etc. |
- Strong understanding of Time & Space Complexity
- Clean and optimized Java code
- Multiple approaches for the same problem
- Problem-solving patterns
Each folder contains:
- Problem statement
- Java solution file(s)
- Detailed approach + complexity analysis
Clone the repository and explore the topics:
git clone https://github.com/ananyabajpai729-ctrl/DSA-JAVA.git- Master advanced topics: Dynamic Programming, Trees, Graphs, Heaps, and Tries
- Solve problems from Striver’s SDE Sheet and Blind 75
- Participate in LeetCode contests and weekly contests regularly
- Improve problem-solving speed and optimize solutions further
- Start competitive programming on Codeforces / CodeChef
- Implement common interview patterns and system design basics
- Contribute to open-source projects involving DSA
- LeetCode
- Striver’s DSA Sheet
- LeetCode: ACodes729
- LinkedIn: Ananya Bajpai
- Portfolio: View Portfolio
"Building strong foundations, one commit at a time."
⭐ Star this repo if you find it helpful!