DEV Community

Discussion on: What's a function you've used/wrote that brought you joy?

Collapse
 
johnkazer profile image
John Kazer

The first time I used recursion in production code and then reused it for something slightly different. It's basically a tree traversal that gives users a sequence of different choices that depend on the previous choice.