Coding challenge for a recent job interview at a start-up.