Track 02 · Data Structures
2.1 Linear Structures
28 topics in 4 parts. Use it as a checklist before an interview, or as a map of what to learn next.
- CCritical
- HHigh
- MMedium
- NNew 2026
01Linked Lists8 topics
- Singly, doubly, circular — structure and use casesH
- Insertion: at head O(1), at tail O(n), at position O(n)C
- Deletion: by value, by positionC
- Reverse a linked list: iterative + recursiveC
- Floyd's cycle detection (fast/slow pointers)C
- Find middle node: slow/fast pointer trickH
- Merge two sorted linked listsH
- LRU Cache: OrderedDict + doubly linked listH
02Stacks & Queues7 topics
- Stack: LIFO, push/pop O(1)H
- Stack applications: balanced brackets, undo/redo, call stackH
- Monotonic stack: next greater/smaller element, histogramH
- Queue: FIFO, circular queue implementationH
- Deque: O(1) both ends — sliding window maxH
- Priority queue / Heap: O(log n) insert/extractH
- Queue for BFS traversal — level orderC
03Arrays & Strings7 topics
- Static vs dynamic arrays, memory layoutH
- Two pointer technique: pair sum, palindrome, container-with-waterC
- Sliding window: fixed size (max sum) and variable size (min-length subarray)C
- Prefix sum arrays and range queriesH
- Kadane's algorithm — max subarray O(n)C
- String manipulation: anagram check, palindrome, longest substringC
- Complexities: O(1) access, O(n) search/insert/delete
04Hash Maps & Hash Sets6 topics
- Hash function design, collision handling strategiesH
- Chaining vs open addressing (linear probing)H
- Python dict/set internals — amortized O(1)H
- Counter for frequency countingC
- Two Sum, Group Anagrams, Subarray Sum Equals KC
- Longest consecutive sequence: O(n) with setH
Practise it
Knowing it is half.
Saying it is the rest.
Run a realistic voice interview with an AI panel in the Interview Room, then read a scored report on every answer.