Meta interview question

General algorithm questions on the more difficult side.