Tracker
GraphTreesDynamic ProgrammingArrays & HashingBacktrackingDesignLinked ListHeapStackStringSliding Window / Two PointersIntervalsBinary SearchTriesGreedyMonotonic Stack
A

Basics / Iterator

0 / 8
346Moving Average from Data StreamQueue sliding-window design359Logger Rate LimiterHashMap design380Insert Delete GetRandom O(1)Array + HashMap284Peeking IteratorIterator pattern341Flatten Nested List IteratorStack (lazy iterator)900RLE IteratorIterator1352Product of the Last K NumbersPrefix product design1381Design a Stack With Increment OperationStack + lazy update
A

Stream / Sliding Window Design

0 / 3
362Design Hit CounterQueue (timestamps)1396Design Underground SystemHashMap design1825Finding MK AverageThree multisets + sliding window
A

TreeMap / Timeline Design

0 / 6
729My Calendar ITreeMap (floor/ceiling)731My Calendar IITreeMap sweep (delta count)1146Snapshot ArrayBinary Search + design2034Stock Price FluctuationTreeMap + HashMap2349Design a Number Container SystemHashMap + TreeMap635Design Log Storage SystemString truncation + sorted scan
A

File System / Trie Design

0 / 3
1166Design File SystemHashMap + path parsing588Design In-Memory File SystemHashMap + Trie design642Design Search Autocomplete SystemTrie + Heap + Design
A

Multi-DS

0 / 1
895Maximum Frequency StackHashMap + Stack