6 — Cyclic Sort
Purpose
[stub: cyclic-sort]
Metadata
| Author | Amit Singh |
| Scope | data-structures-algorithms |
Local graph
Linked from 2 notes
2 — Array Algorithms
In-place rotation via the reversal trick, Kadane's maximum subarray, Dutch National Flag partitioning, merging sorted arrays in place, and the sum/XOR tricks for a missing or duplicate number.
Data Structures & Algorithms
A book-shaped table of contents for MAANG-interview DSA prep: Python language foundations, mathematical and algorithmic foundations, arrays/strings, linked structures, stacks/queues, trees, graphs, sorting/searching, dynamic programming, greedy algorithms, backtracking, bit manipulation, advanced data structures, advanced algorithms, interview problem patterns, and MAANG interview mastery — a book-length progression from fundamentals to Google/Meta/Amazon/Apple/Netflix/Microsoft (L4–L6) interview readiness.
Related notes
1 — Two Pointers Pattern
Recognizing when a problem's brute-force nested loop collapses to a single pass with two coordinated pointers.
10 — BFS Pattern
Recognizing shortest-path/level-order/minimum-step problems that breadth-first search solves optimally on unweighted graphs.
11 — Tree DFS Pattern
Recognizing tree problems that reduce to a DFS template carrying a small amount of state root-to-leaf.
12 — Graph Pattern
Recognizing problems phrased as text/grid/relationship data that are actually graph traversal or connectivity in disguise.