@ashmantak: the figure of dipankar is incorrect but his point is correct..
for a tree like

                    4
                  /    \
                 2     10
                /   \
               1    3
successor of 3 shall be 4 not 2..

On Fri, Aug 12, 2011 at 4:48 PM, ashmantak <[email protected]> wrote:

> @Dipankar Patro -
>
> The figure u have made isn't a BST.Read the problem.
> His soln. is correct.
>
> --
> 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.
>

-- 
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