LinkedIn interview question

Brush up on algos and data structures. Nothing too complex.