Pregunta de entrevista de Airbnb

The overall coding challenge is not difficult