Superhuman Interview Question

Solve an algorithmic problem in a live coding session.