Back to front pageView on Hacker News (opens in a new tab)Ask HN: What's your favorite elegant/beautiful algorithm?733 pointsby algobuddy (on Hacker News)8 years agoComments (491) 209 threadsShow all commentsShowing thread 58 of 209ondras8 years ago#For me, that would be Eller's algorithm: http://www.neocomputer.org/projects/eller.htmlIt generates perfect mazes of arbitrary size M*N, using only O(max(M, N)) memory.
Ask HN: What's your favorite elegant/beautiful algorithm?733 pointsby algobuddy (on Hacker News)8 years ago
ondras8 years ago#For me, that would be Eller's algorithm: http://www.neocomputer.org/projects/eller.htmlIt generates perfect mazes of arbitrary size M*N, using only O(max(M, N)) memory.
Comments (491) 209 threads
Show all comments
Showing thread 58 of 209
It generates perfect mazes of arbitrary size M*N, using only O(max(M, N)) memory.