Brilliant (CA) interview question

Some standard data structures and algorithms question