← All topics
Data structures & algorithms interview preparation
Complexity, arrays and strings, sorting, searching, hashing, linked lists and stacks, and trees. Each question gives the answer first, then the reasoning and worked pseudocode. Click a question to reveal the answer.
FOUNDATIONS
Foundations
CORE
CORE
CORE
ALGORITHM DESIGN
Algorithm design strategies
CORE
CORE
CORE
HOT
HOT
HOT
COMPLEXITY
Time and space complexity
CORE
CORE
HOT
CODING EXERCISES
Common whiteboard exercises
CORE
CORE
CORE
CORE
HOT
CORE
CORE
CORE
HOT
CORE
HOT
HOT
CORE
TRICKY
ARRAYS & STRINGS
Arrays and strings
CORE
HOT
CORE
HOT
CORE
HOT
HOT
CORE
SORTING
Sorting
CORE
CORE
HOT
TRICKY
SEARCHING
Searching
CORE
TRICKY
HASHING
Hash maps
CORE
HOT
TRICKY
LINKED LISTS & STACKS
Linked lists and stacks
CORE
HOT
CORE
CORE
CORE
HOT
HOT
CORE
TREES
Trees
CORE
CORE
HOT
TRICKY
APPROACH
How to approach coding problems
CORE
HOT