Corrections · 3
Nice puzzle
Suppose you have an hotel with an infinite infinty number of rooms., in rRoom number 1 is occupied byvisit customer number 1, in room 2 is occupied by customer number 2 and so on., The hotel is full!
Now assume that a new customer whomwhich we call customer number 0 comes to visit., iIs thereit any way to find a room forenter this new customer into the hotel?.
Answer: Yes! tThere is a way., All you need to do is to move each customercostumer 1 room to the right, meaning, guy number 1 would move to room 2, guy number 2 would move to room 3 and so on., aAfter each guy movesd to the room to his right, room number 1 willwould be availableavilbele and you can host there customer number 0 there.
Want to progress faster?
Join this learning community and try out free exercises!
Don’t miss out on the opportunity to learn a language from the comfort of your own home. Browse our selection of experienced language tutors and enroll in your first lesson now!
Start Learning Today
