Pregunta de entrevista de Amazon

Started with basic java and sql