Hacker News new | ask | show | jobs
by mildbow 3410 days ago
Recursive might be harder to grok to someone new because of the implied stack.

However, once you understand the iterative version, it's probably easier to understand how the recursion is actually working.