Interview glossary / Technical rounds

Data structures and algorithms

Also called: DSA · Algorithms and data structures

The core computer-science toolkit (arrays, hash maps, trees, graphs, heaps, sorting, searching, recursion) behind most coding interview problems.

Interviewers expect you to choose a fitting structure and explain why: a hash map for constant-time lookup, a heap to keep the top items, a queue for breadth-first search. Knowing their typical time and space costs is part of the answer.

In an interview

When you pick a data structure, say what operation it makes cheap and what it costs in memory.

Related terms

· All terms ·