Airbnb Coding Challenge 12