LuxuryEscapes Interview Question

Some basic array looping to avoid big o notation