Coding exercise for a job interview