Pregunta de entrevista de LuxuryEscapes

Some basic array looping to avoid big o notation