Pergunta de entrevista da empresa J.P. Morgan

a programming question based on java