Pregunta de entrevista de Labcorp

Java coding question using hashmaps SQL update query, subqueries