Pregunta de entrevista de Omniscient Software

Question based on lists in java.