i guess there is one more if i am not wrong;

      if(n==null)
       {
            n=n.children[++j];
            return null;
       }

here when n==NULL....you are doing n.children[++j].....will give
segmentation fault.

On Wed, Dec 21, 2011 at 7:05 PM, WgpShashank <[email protected]>wrote:

> @all just a small bug found after discussing with one of the friend , i
> forgot to put the for loop , in 2nd if condition .
>
>
> Thanks
> Shashank
>
> --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/algogeeks/-/1cMtxb4Fy8wJ.
>
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to