Calsoft interview question

Data structures and algorithms problems