Algorithmic Thinking and Complexity
Big-O, loop analysis, graph algorithms, invariants, and developer-focused discrete math.
82 บทเรียน · 410 คำถาม
Algorithmic Thinking and Complexity
82 บทเรียน · 410 คำถาม
Answer Space Binary Search
1 บทเรียน · 5 คำถาม
Asymptotic Analysis
1 บทเรียน · 5 คำถาม
Asymptotic Scenarios
1 บทเรียน · 5 คำถาม
Backtracking State Space
1 บทเรียน · 5 คำถาม
Bfs Shortest Path
1 บทเรียน · 5 คำถาม
Binary Lifting
1 บทเรียน · 5 คำถาม
Binary Search Invariants
1 บทเรียน · 5 คำถาม
Bipartite Matching Depth
1 บทเรียน · 5 คำถาม
Bit Count Power
1 บทเรียน · 5 คำถาม
Bit Mixed Interview
1 บทเรียน · 5 คำถาม
Bitmask Set
1 บทเรียน · 5 คำถาม
Bitwise Logic
1 บทเรียน · 5 คำถาม
Boolean And Bits
1 บทเรียน · 5 คำถาม
Bridges Articulation
1 บทเรียน · 5 คำถาม
Bst Invariants
1 บทเรียน · 5 คำถาม
Condensation Dag
1 บทเรียน · 5 คำถาม
Coordinate Compression
1 บทเรียน · 5 คำถาม
Dags And Paths
1 บทเรียน · 5 คำถาม
Deque Design Tradeoffs
1 บทเรียน · 5 คำถาม
Difference Arrays
1 บทเรียน · 5 คำถาม
Dp Memo Vs Tabulation
1 บทเรียน · 5 คำถาม
Dp Mixed Interview
1 บทเรียน · 5 คำถาม
Dp State Design
1 บทเรียน · 5 คำถาม
Dp Subproblem Graph
1 บทเรียน · 5 คำถาม
Euler Tour Subtree Ranges
1 บทเรียน · 5 คำถาม
Fast Slow Pointers
1 บทเรียน · 5 คำถาม
Fenwick Tree Point Update
1 บทเรียน · 5 คำถาม
Fenwick Tree Prefix Sum
1 บทเรียน · 5 คำถาม
O(log n) by storing carefully chosen partial sums. The key bit trick is the low bit, which tells how large a range each index is responsible for.Graph Cycle Detection
1 บทเรียน · 5 คำถาม
Graph Modeling State Space
1 บทเรียน · 5 คำถาม
Graph Traversal
1 บทเรียน · 5 คำถาม
Greedy Exchange Arguments
1 บทเรียน · 5 คำถาม
Grid Graph Traversal
1 บทเรียน · 5 คำถาม
Heap Frontier Top K
1 บทเรียน · 5 คำถาม
Heap Invariants
1 บทเรียน · 5 คำถาม
Interval Overlap Meeting Rooms
1 บทเรียน · 5 คำถาม
Interval Scheduling Greedy
1 บทเรียน · 5 คำถาม
Invariants And Structures
1 บทเรียน · 5 คำถาม
Lca
1 บทเรียน · 5 คำถาม
Linked List Dummy Nodes
1 บทเรียน · 5 คำถาม
Linked List Pointer Updates
1 บทเรียน · 5 คำถาม
Linked List Reversal
1 บทเรียน · 5 คำถาม
Linked List Sorted Merge
1 บทเรียน · 5 คำถาม
Loop Analysis
1 บทเรียน · 5 คำถาม
Modular Arithmetic
1 บทเรียน · 5 คำถาม
Modular Hashing Depth
1 บทเรียน · 5 คำถาม
Monotonic Deque Prefix Sum
1 บทเรียน · 5 คำถาม
Monotonic Queue Sliding Window
1 บทเรียน · 5 คำถาม
Monotonic Stack Boundaries
1 บทเรียน · 5 คำถาม
Monotonic Stack Next Greater
1 บทเรียน · 5 คำถาม
Offline Sorting Sweep
1 บทเรียน · 5 คำถาม
Palindrome Manacher Lite
1 บทเรียน · 5 คำถาม
Partitioning Dutch Flag
1 บทเรียน · 5 คำถาม
Permutations Constraints Search
1 บทเรียน · 5 คำถาม
Prefix Function Kmp
1 บทเรียน · 5 คำถาม
Prefix Sums
1 บทเรียน · 5 คำถาม
Priority Queue Patterns
1 บทเรียน · 5 คำถาม
Queue Fifo Bfs Simulation
1 บทเรียน · 5 คำถาม
Recurrence Analysis
1 บทเรียน · 5 คำถาม
Recurrence Patterns
1 บทเรียน · 5 คำถาม
Recursion Tree Pruning
1 บทเรียน · 5 คำถาม
Rolling Hash Substrings
1 บทเรียน · 5 คำถาม
Scc
1 บทเรียน · 5 คำถาม
Segment Tree Lazy Propagation
1 บทเรียน · 5 คำถาม
Segment Tree Range Query
1 บทเรียน · 5 คำถาม
O(log n) by combining a small number of stored interval results. The key interview idea is to reason about no overlap, partial overlap, and complete overlap.Sliding Window Strings
1 บทเรียน · 5 คำถาม
Sparse Table Rmq
1 บทเรียน · 5 คำถาม
O(1).Stack Balanced Delimiters
1 บทเรียน · 5 คำถาม
Stack Expression Evaluation
1 บทเรียน · 5 คำถาม
Subset Enumeration Bitmask
1 บทเรียน · 5 คำถาม
0 to 2^n - 1 gives every subset of an n-element set. Interviews use this for subset generation, used-element state, and small-state dynamic programming where each bit records a chosen item.Subsets Combinations Search
1 บทเรียน · 5 คำถาม
Suffix Ordering
1 บทเรียน · 5 คำถาม
Topological Sort Dag
1 บทเรียน · 5 คำถาม
Tree Dp Rerooting
1 บทเรียน · 5 คำถาม
Tree Height Balance
1 บทเรียน · 5 คำถาม
Tree Traversal Recursion
1 บทเรียน · 5 คำถาม
Trie Hash Kmp Tradeoffs
1 บทเรียน · 5 คำถาม
Tries Prefix Search
1 บทเรียน · 5 คำถาม
Two Pointers Compaction
1 บทเรียน · 5 คำถาม
Two Pointers Sorted Pairs
1 บทเรียน · 5 คำถาม
Union Find Connectivity
1 บทเรียน · 5 คำถาม
Z Function
1 บทเรียน · 5 คำถาม
i stores the length of the longest substring starting at i that matches the whole string prefix. This lets you reason about repeated prefix structure and perform pattern search via concatenation.