What are the most important data structure and algorithms to prepare for Google Interview?

Stick to Basics. I would classify the following data structures as must know

Linked List - Single and Doubly
Stack
Queues
Binary Search Trees or general Binary Tree
Heaps
Basic Graph Traversal and Shortest Path
Hashing

Following data structures may be asked. I would say that their probability of being asked is between 50 to 75% -

Tries
Advance Graphs like flow and min-cut etc.
Bit Manipulation

You will probably crack interviews with sufficient knowledge of above.

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
Basic Co-ordinate geometry - Manhattan Distance, Closest Point Pair
Divide and Conquer
Greedy
Dynamic Programming - Extremely important
Probability and basic Number Theory
Sorting and Searching

Following topics is important for Knowledge / Experience based questions :

OS - Threads, Processes and Locks using Mutex, Semaphores (Operating systems Archives - GeeksforGeeks)
Scalability Issues, RPCs, Rate limiter, etc.
OOP Concepts
Databases - SQL, NoSQL, Writing simple Queries, Transactions, ACID
Linux Commands - sed, grep, ps, etc.

Resources :
Page on geeksforgeeks.com
Programming Interview Questions | CareerCup
Coding Interview preparation made easy
Buy Cracking the Coding Interview: 150 Programming Questions and Solutions

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值