Practice problems from the Google Code Jam challenges