How suyash-kamath/dsa-in-java works
This repository is a collection of standalone Java data-structure and algorithm examples, not a single application. The typical user workflow is to select an example, provide or edit its input in that file’s main method, and inspect the computed result. The examples cover arrays, searching, linked lists, recursion and sorting, stacks, and strings. There is no shared application entry point or demonstrated cross-module runtime flow; many files were not sampled, so the map groups those examples by topic without asserting calls between them.
Main entry points: ArrayProblemsI.java Array operations · RotateImage.java Array transforms · SortArrayOfZeroesOnesTwos.java Array ordering · ThreeSum.java Array selection
Components 21
Array algorithms
- Array operations
arrays/ArrayProblemsI.java - Array transforms
arrays/RotateImage.java - Array ordering
arrays/SortArrayOfZeroesOnesTwos.java - Array selection
arrays/ThreeSum.java
Search algorithms
- Binary search
binary_search/BinarySearch.java - Matrix search
binary_search/Search2DMatrixVariant2.java - Specialized search
binary_search/SearchInARotatedSortedArray.java
Linked lists
- Singly linked list
linked_list/SinglyLinkedList.java - Circular doubly list
linked_list/CircularDoublyLinkedList.java - Circular singly list
linked_list/CircularSinglyLinkedList.java - List algorithms
linked_list/ReverseLinkedList.java
Recursion and sorting
- Recursive search
recursion/BinarySearch.java - Combinations and puzzles
recursion/CombinationSumIII.java - Recursive sorting
recursion/MergeSort.java - Basic sorting
sorting_algorithms/InsertionSort.java
Stacks and strings
- Stack implementations
stack/NStacksInAnArray.java - Expression processing
stack/DecodeString.java - Parenthesis algorithms
stack/LongestValidParentheses.java - Path simplification
stack/SimplifyPath.java - String algorithms
strings/MostFrequentCharacter.java
Other components
- Example user
Connections 20
- Example user → Array operations: selects example
- Example user → Array transforms: selects example
- Example user → Array ordering: selects example
- Example user → Array selection: selects example
- Example user → Binary search: selects example
- Example user → Matrix search: selects example
- Example user → Specialized search: selects example
- Example user → Singly linked list: selects example
- Example user → Circular doubly list: selects example
- Example user → Circular singly list: selects example
- Example user → List algorithms: selects example
- Example user → Recursive search: selects example
- Example user → Combinations and puzzles: selects example
- Example user → Recursive sorting: selects example
- Example user → Basic sorting: selects example
- Example user → Stack implementations: selects example
- Example user → Expression processing: selects example
- Example user → Parenthesis algorithms: selects example
- Example user → Path simplification: selects example
- Example user → String algorithms: selects example