Google interview question

Basic algorithmic and data structure problems