Pregunta de entrevista de Honeywell

String optimizations and data structure questions