Pregunta de entrevista de Siemens

hashing and time complexity based