Skip to interview prep
Apexed

43. What is a symbol table? Show common operations.

EasySymbol tables & hashing

Technical

Type or dictate your answer. Your draft is saved on this device.

Show model answer

A symbol table (map, dictionary) associates keys with values and supports put, get, delete and contains. Hash tables give average O(1) operations; balanced BSTs give O(log n) operations plus ordered queries such as min, max, floor and range.

Example program

What is a symbol table? Show common operations. — Data structures & algorithms interview question — Apexed