Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

A list of the most common Data structures and Algorithms asked in coding interviews:

Data structures​:

1. Array
2. Linked List
3. Unordered map (HashMap), ordered map (TreeMap)
4. Priority Queue (Heap)
5. Graph
6. Stack, Queue, Deque
7. Special Trees - Binary search tree, Trie, Segment tree, Binary Indexed Tree
8. Disjoint set

Algorithms:

1. Two pointer/Sliding window


2. Binary search
3. Dynamic programming
4. Greedy/Sorting
5. Divide & Conquer
6. BFS/DFS/Topological sort
7. Backtracking
8. Randomization/Approximation

You might also like