Top "Non-recursive" questions

non-recursive programming avoids risks of recursion by using iteration instead.

Post order traversal of binary tree without recursion

What is the algorithm for doing a post order traversal of a binary tree WITHOUT using recursion?

binary-tree traversal non-recursive
How to implement depth first search for graph with a non-recursive approach

I have spent lots of time on this issue. However, I can only find solutions with non-recursive methods for a …

algorithm graph depth-first-search non-recursive
How does Tortoise's non recursive commit work?

I've checked out a copy of the SVN branch (my branch) locally to which I've merged from a different branch (…

tortoisesvn commit non-recursive
Help me understand Inorder Traversal without using recursion

I am able to understand preorder traversal without using recursion, but I'm having a hard time with inorder traversal. I …

python algorithm tree tree-traversal non-recursive
Retrieving a Binary-Tree node's depth non-recursively

Can anyone point out a way of getting the depth of a Node in a Binary Tree (not a balanced …

recursion binary-tree non-recursive
Non-recursive os.walk()

I'm looking for a way to do a non-recursive os.walk() walk, just like os.listdir() works. But I need …

python os.walk non-recursive
Non-recursive implementation of Flood Fill algorithm?

I'm working on a small drawing application in Java. I'm trying to create a 'bucket-fill' tool by implementing the Flood …

algorithm flood-fill non-recursive
How to rewrite Ackermann function in non-recursive style?

I have function public static int func(int M,int N){ if(M == 0 || N == 0) return M+N+1; return func(M-1, …

java non-recursive
SVN not updating recursively

A few weeks ago, I checked out our whole SVN repo in --non-recursive mode. Now it seems that when I …

svn recursion non-recursive
Rewriting a recursive function without using recursion

I'm rewriting some existing code in a setting where recursive calls are not easily implemented nor desired. (And in Fortran 77, …

algorithm recursion rewrite non-recursive