Skip to content
RED SAG Skills
hard20 pts · first answer countsstacks-and-queues

Deep recursion on a skewed tree

A recursive function that walks a category tree crashes with "Maximum call stack size exceeded" on one customer whose tree is a chain 200,000 levels deep. What is the most robust fix?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions