IMPORTANT DATA STRUCTURES FOR GOOGLE INTERVIEWS
1 min readSep 29, 2022
Keep it simple. The following data structures fall into “must know” category:
- Linked list — Singly and Doubly
- Stack
- Queues
- Binary Search Tree
- Heaps
- Basic Graph Traversal and Shortest Path
- Hashing
You might be asked about the data structures below. Their chance of being asked is between 50 and 75%:
- Tries
- Advanced Graphs like flow and min-cut etc.
- Bit manipulation
With the necessary knowledge from above, you’ll probably ace the interviews.
Following have very low probability of being asked (<25%):
- Segment Trees/Binary Indexed trees
- AVL Trees
- B+ Trees
Other hard data structures are absolutely unnecessary.
Following Algorithms/ Tricks/ Topics may also be important:
- Memory management
- Divide and Conquer
- Dynamic Programming
- Sorting and Searching
Following topics is important for knowledge/experience based questions:
- OS — Threads, Processes and Locks using Mutex, Semaphores.
- Scalability Issues, RPCs, Rate Limiter etc.
- OOPs Concepts.
- Databases — SQL, NOSQL, Writing Simple Queries, Transactions, ACID
Also read: