CodingFoundations
Arrays and strings
Easynot started
Mediumnot started
Hardnot started
Arrays & in-place tricksRearranging data without asking for more memory.3 minHash maps & setsO(1) lookups by turning data into an address.3 minDesigning data structuresCombine basic primitives (maps, lists, heaps) to create complex data structures with fast operations.3 minSliding windowMaintain a flexible constraint over contiguous data by inch-worming your pointers.3 minStacks & monotonic stacksRemember data in a Last-In, First-Out (LIFO) order to process immediate dependencies.3 minPrefix sums & difference arraysPrecompute cumulative totals to answer range queries instantly.3 minString matching (KMP, Z)Search for a pattern in a text without ever stepping backward.3 minWindow functions: running totals, ranks and gapsEach row gets its own little window into the group, and, unlike group by, every row stays on the page.4 minLinked listsData scattered in memory, connected by pointers.3 minSet operationsTwo result sets meet at a junction, and the only real question is which rows survive the meeting.5 minConsistent hashing (key rebalancing)How to add a new server to a distributed database without moving every single piece of data.3 minConsistent hashing and replica setsWalking the ring to ensure data survives a server explosion.3 minRate limitingA bucket of tokens that quietly refills, spend one per request, and when it runs dry, callers have to wait.4 minTransfer locking and final balanceLocks force concurrent transfers into a safe order, so the books always balance.3 min