Pivotal interview question

Coding questions - sort, single number etc.