Pregunta de entrevista de IBM

Database and algorithm, few about java.