2077. Paths in Maze That Lead to Same Room
Graph Theory
Hints
Hint 1
If the path starts at room i, what properties must the other two rooms in the cycle have?
Hint 2
The other two rooms must be connected to room i, and must be connected to each other.
Preparing judge…