what is nth element of a tree u mean nth element in the inorder traversal?
@sharad what are u trying to do with this code??
On Fri, Nov 6, 2009 at 4:01 PM, sharad kumar aryansmit3...@gmail.comwrote:
stackstruct node *st;
start with root
ptr=root;
while(ptr!=nullcount!=k)
{
st.push(ptr);
can anyone help me to solve this..how can we find nth element of a
tree without using recursion
--
You received this message because you are subscribed to the Google Groups
Algorithm Geeks group.
To post to this group, send email to algoge...@googlegroups.com.
For more options, visit this group