Apple interview question

Exclusively whiteboard algorithm questions.