A blog dedicated to text editing and general exploration of computing knowledge
I propose a coding standard:"The Coding Standard"1. Avoid recursion2. Examine your code against "The Coding Standard"
fatal error: stack overflow.
how do you do tree traversal without recursion? I feel stupid.
@ray forresterJust take a tree traversal and write the logic out for yourself in pseudocode. It's not actually that hard.To know recursion, you must first know recursion.
Post a Comment