Drawbridge interview question

Typical questions about data structure and algorithm