On Fri, Feb 13, 2009 at 11:17 AM, Vinay Pandey wrote:
> which tree?
>
>
> On Tue, Feb 10, 2009 at 7:01 AM, praba garan wrote:
>
>> how to find the successor of an element in a tree ??
>>
>> thank u
>>
>>
>>
>
> >
>
--~--~-~--~~~---~--~~
You received this message be
a successor if node X
> does not have any right child.
>
> -Original Message-
> From: algogeeks@googlegroups.com [mailto:algoge...@googlegroups.com] On
> Behalf Of rakesh sathu
> Sent: Saturday, February 14, 2009 1:21 PM
> To: algogeeks@googlegroups.com
> Subject
Sent: Saturday, February 14, 2009 1:21 PM
To: algogeeks@googlegroups.com
Subject: [algogeeks] Re: [algogeeks]
If it is a binary tree follow this.. * Right shift of the node(in
number) gives you the left child of that node
* Add binary 1 to the above result to get right child
* To find node from a chi
If it is a binary tree follow this.. * Right shift of the node(in
number) gives you the left child of that node
* Add binary 1 to the above result to get right child
* To find node from a child do right shift
On 2/10/09, praba garan wrote:
> how to find the successor of an element in a tree ??
>
roups.com] On
Behalf Of Vinay Pandey
Sent: Friday, February 13, 2009 9:18 AM
To: algogeeks@googlegroups.com
Subject: [algogeeks] Re: [algogeeks]
which tree?
On Tue, Feb 10, 2009 at 7:01 AM, praba garan wrote:
how to find the successor of an elemen
which tree?
On Tue, Feb 10, 2009 at 7:01 AM, praba garan wrote:
> how to find the successor of an element in a tree ??
>
> thank u
>
> >
>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Algorithm Geeks" group.
To