Can anyone please explain why this solution of problem HOTEL [problem] 1 gives wrong answer
this is my solution