DEV Community

Discussion on: What makes recursion hard

Collapse
 
cubiclebuddha profile image
Cubicle Buddha • Edited

I don't really know why recursion is so hard
--> I don't really know why recursion is so hard
-----> I don't really know why recursion is so hard
--------> I don't really know why recursion is so hard
-----------> I don't really know why recursion is so hard
--------------> {explosion}

All jokes aside, recursion is hard to debug and rarely has a good use case in typical production applications. So I'm very sorry to hear that you had a bad interview experience. It sounds like you might have dodged a bullet. What I mean is that I don't know if I'd want to work for a company that requires a solution to use recursion (or any specific solution for that matter).