# Active the env:
uv sync
source .venv/Scripts/activate
# Run all scripts:
sh run_all.sh
# List all scripts:
find . -mindepth 2 -path './.venv*' -prune -o -type f -name "*.py" -printf "python -m %P\n" | sed 's|/|.|g; s|\.py$||'
# Run a specific script:
python -m search.binary_search_2d_matrix
- BinarySearchTree
- CircularBuffer (RingBuffer)
- Graph
- HashTable
- Heap (max / min)
- SinglyList, CircularList, DoublyList
- Matrix
- Queue, QueueBlocks, PriorityQueue
- Sum Tree
- Stack, MonotonicStack
- BinaryTree
- Trie
- Union-Find (disjoint-set) structure
- Maximum Subarray
- Container With Most Water
- Missing Number
- Product of Array Except Self
- Sorting Colors
- Stock Trading
- Triplet Sum
- Sorted Pair Sum
- Generate Binary Strings Without Adjacent Zeros
- The N-Queens Problem
- Permutation
- Subsets (powerset)
- Word Search
- Bit <-> Int conversions
- Counting Bits
- Missing Number
- Number of One Bits
- Reverse Bits
- Sum of Two Integers
- Climbing Stairs
- Decode Ways
- Edit Distance
- Fibonacci
- Longest Increasing Path
- Longest Palindromic Substring
- Minimum Path Sum
- Alien Dictionary
- Cheapest Flights Within K Stops
- Clone Graph
- Course Schedule
- Flood Fill
- Maximum Island Area
- Path with Maximum Probability
- Network Delay Time
- Number of Islands
- Pacific Atlantic Water Flow
- Cycle detection
- Minimum Spanning Tree - Kruskal's Algorithm
- Minimum Spanning Tree - Prim's Algorithm
- BFS shortest path (on unweighted graphs)
- Dijkstra's algorithm - Shortest path on (non-negatively) weighted graphs
- Topological sorting (DFS / Kahn)
- Diagonal Sum
- Saddle Numbers in Matrix
- Rotate Matrix
- Set Matrix Zeroes
- Spiral traversal
- Toeplitz Matrix
- Valid Sudoku
- Group Anagrams
- The Rabin-Karp Algorithm (utils)
- Longest Palindromic Substring
- The Rabin-Karp Algorithm
- Permutation in String