lionelhill
Technical User
In the city of Norwich, in the UK, there used to be many public lavatories, before we ran out of money and couldn't maintain them. At one corner of the ring-road, near City Station bridge (which is nowhere near the station, but that is another story), there was an ornamental octagonal public lavatory, which until recently carried a sign:
"These facilities are closed. Please use alternative conveniences at the bottom of Grapes Hill".
If you went to the bottom of Grapes Hill, there was another public toilet, also closed, with a sign directing you to a third. This third was also closed, with a sign directing you to the toilets in Tombland.
Few students on a pub crawl would have the bladder capacity to test this linked list to its end, but it always worried me that somewhere a toilet might direct you back to one you had already visited, and you would find yourself in an eternal ring of lavatories.
So the puzzle is this:
you are equipped with a small handful of assistants, and your mission is to establish whether the public lavatories of Norwich (starting at City Station bridge) do indeed contain a ring of toilets in which a tourist or student could become trapped, with only the booming bell of the town clock, tolling the passing of time, as they wander hopelessly from loo to loo. Your assistants cannot remember what an individual lavatory looks like (after a few, they all look the same). Nor can they mark the toilets in any way to show they've been visited (you can't damage public property). Nor can you photograph the lavatories (the UK has strict anti-terrorism rules about photographing things like fish-and-chip shops; a loo could be far more sensitive).
How can you find if there is a loop? The task must end in a finite time even if there is a loop. You cannot make any assumptions about the upper number of toilets in Norwich.
This puzzle has at least one solution; if my method of posing it creates undue questions and ambiguities, I will re-pose it as a straightforward computing puzzle, in a spoiler.
"These facilities are closed. Please use alternative conveniences at the bottom of Grapes Hill".
If you went to the bottom of Grapes Hill, there was another public toilet, also closed, with a sign directing you to a third. This third was also closed, with a sign directing you to the toilets in Tombland.
Few students on a pub crawl would have the bladder capacity to test this linked list to its end, but it always worried me that somewhere a toilet might direct you back to one you had already visited, and you would find yourself in an eternal ring of lavatories.
So the puzzle is this:
you are equipped with a small handful of assistants, and your mission is to establish whether the public lavatories of Norwich (starting at City Station bridge) do indeed contain a ring of toilets in which a tourist or student could become trapped, with only the booming bell of the town clock, tolling the passing of time, as they wander hopelessly from loo to loo. Your assistants cannot remember what an individual lavatory looks like (after a few, they all look the same). Nor can they mark the toilets in any way to show they've been visited (you can't damage public property). Nor can you photograph the lavatories (the UK has strict anti-terrorism rules about photographing things like fish-and-chip shops; a loo could be far more sensitive).
How can you find if there is a loop? The task must end in a finite time even if there is a loop. You cannot make any assumptions about the upper number of toilets in Norwich.
This puzzle has at least one solution; if my method of posing it creates undue questions and ambiguities, I will re-pose it as a straightforward computing puzzle, in a spoiler.