Pregunta de entrevista de General Motors (GM)

Sifting through given arrays and strings