Microsoft interview question

Basic data structures and algorithm problems