Pregunta de entrevista de Xyram

Basic Java and spring boot related questions, 1 coding question which we can solve using Hashmap