You're in a space of twisty little mazes, all alike
strangelyconsistent.org
strangelyconsistent.org
these can be sampled using Wilson's algorithm for Loop-Erased Random Walks https://en.wikipedia.org/wiki/Loop-erased_random_walk#The_un...
Here is a nice visualization of Wilson's algorithm using d3.js by Michael Bostock (NY Times) http://bl.ocks.org/mbostock/11357811
Either direction is of course the same in theory, of course.
More excitingly than that, you may be able to contribute to OEIS now, if you can work yourself out a few more terms: https://oeis.org/search?q=1%2C1%2C28%2C12600&sort=&language=...
Though it counts reflections as distinct.
I don't see why that makes it a terrible interview question, though. Maybe you want to hire people who read about this kind of thing for fun. They may also have read about other things.
Colleges pick their students based on basic vocabulary and 9th grade math questions.
Maybe, though I'd be shocked if the typical hiring process were that nuanced.