Cloudbeds interview question

Scenario based.