Domanda di colloquio di J.P. Morgan

Random programming questions, picking out the biggest number