Welcome to the Java Algorithms and Data Structures repository!
This project contains detailed explanations, implementations, complexity analyses, and benchmarking for a wide range of computer science algorithms and data structures, as well as coding practice problems and solutions.
- Algorithms/ — Classic and advanced algorithms with code, complexity, and benchmarks.
- DataStructures/ — Implementations and explanations of essential data structures.
- Java/ — Java language basics, OOP concepts, and utility code.
- Patterns/ — Design patterns with code samples.
- CodeChefs/ — Solutions to competitive programming problems.
- Questions/ — Practice questions, frequently asked interview problems, and solutions.
- iitm_bs_diploma_2025/ — Coursework and projects for the IITM BS Diploma program.
-
Clone the repository:
git clone https://github.com/its-tsukii/your-repo-name.git cd your-repo-name -
Browse folders for algorithms, data structures, and practice problems.
-
Run code samples:
All code is in Java. Use any Java IDE or CLI tools.
- Fork this repo and create a new branch for your feature/fix.
- Add new algorithms or data structures in the appropriate folder with a README.
- Use clear naming conventions and JavaDoc comments in code.
- Open a Pull Request with a description of your changes.
This project is licensed under the MIT License.
Inspired by open-source learning, competitive programming, and the community.
Welcome to the Learn Java DSA Structured repository!
This repository helps you master Data Structures, Algorithms, and common Patterns in Java.
Each section contains detailed code, explanations, and benchmarking.
Algorithms/- Algorithm implementations and explanations.Algorithms/Searching/- Searching algorithms implementations.Algorithms/Searching/BinaryAndLinear/- Binary Search vs Linear Search comparison.DataStructures/- Data structures implementations.Patterns/- Coding patterns explained and practiced.
Explore each folder's README for details!
Happy learning! 🚀
Algorithms/
Searching/
BinaryAndLinear/
InterpolationSearch/
ExponentialSearch/
Sorting/
BubbleSort/
MergeSort/
QuickSort/
...
Graphs/
BFS/
DFS/
Dijkstra/
BellmanFord/
FloydWarshall/
Kruskal/
Prim/
UnionFind/
Misc/
HareTortoiseCycleDetection/
GreedyAlgorithms/
DataStructures/
ArraysStrings/
LinkedLists/
StacksQueues/
HashTables/
TreesBST/
Heaps/
GraphRepresentations/
Patterns/
SlidingWindow/
TwoPointers/
FastSlowPointers/
Backtracking/
BFS/
DivideAndConquer/
--> MergeSort - covers 90% of the interview questions on sorting
1.Sorting -->
--> QuickSort - Closely Follows MergeSort But MergeSort Stil Dominates
--> Some Questions still requires BucketSort but its not worth the trouble
-->BinarySearch On Questions - basic binary questions
2.Searching --> BinarySearch
-->BinarySearch On Answers - such as koko banana question
3.