Electronic Arts Interview Question

Most challenging programming task.