- Sorting
- Searching
- Binary Search
- TwoPointer
- SlidingWindow
- Matrix
- String
- String Pattern Matching
- Array
- Hashing
- Stack
- Queue
- Recursion
- Backtracking
- BFS
- DP
- LinkedList
- Tree
- Binary Search Tree
- Trie
- Heap
- Graph
- DSU
- Greedy
- Math
- Bit Manipulation
A repository of ds and algo popular problems topic wise
| Problem | Solution |
|---|---|
| Build Max Heap | Heap/arr_to_max_heap |
| Problem | Solution |
|---|---|
| 743. Network Delay Time | networkDelay |
| 994. Rotting Oranges | rottenOranges |
| 1091. Shortest Path in Binary Matrix | shortestPathInABinaryMatrix |
| Problem | Solution |
|---|---|
| 1721. Swapping Nodes in a Linked List | LinkedList/swapNodesInLinkedList.md |
| 138. Copy List with Random Pointer | LinkedList/copyListWithRandomPointer.md |
| Problem | Solution |
|---|---|
| 821. Shortest Distance to a Character | Greedy/shortestCharDist.md |
| Minimum Cost to Connect Sticks | Greedy/MinCostConnectRopes.md |
| Problem | Solution |
|---|---|
| 33. Search in Rotated Sorted Array | BinarySearch/searchInRotatedSortedArray.md |
| 1011. Capacity To Ship Packages Within D Days | capacity_ship_packages_d_days |
| Problem | Solution |
|---|---|
| 589. N-ary Tree Preorder Traversal | preOrderTraversal |
| Problem | Solution |
|---|---|
| 200. Number of Islands | DFS/NumberOfIslands.md |
| 1192. Critical Connections in a Network | DFS/CriticalConnectionsInNetwork.md |
| 1992. Find All Groups of Farmland | DFS/FindFarmlands.md |
| Problem | Solution |
|---|---|
| 957. Prison Cells After N Days | HashMap/PrisonCellsAfterNdays.md |