Oh, the pressure on us, right?
Reading this made me remember a challenge I participated in some conference months ago. Same problem.
for recursive functions, what I usually do is start creating the exit condition, and then working on what has to be done in the function.
When I had to implement with a lot of other developers watching me code, I kinda panicked, almost couldn't finish it.
It was my first time doing a challenge like that, and it was kinda scary.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.