Simplotel interview question

Mostly puzzle they will ask