yeah .. still complexity will be O(n) only far better then O(n^2)

On Fri, Jun 3, 2011 at 5:27 PM, Piyush Sinha <[email protected]> wrote:
> Ok..sorry my bad.....i confused it with something else...
> but still u need to make two traversals for each of the AVL trees....isnt it??
>
> On 6/3/11, Vipul Kumar <[email protected]> wrote:
>> dude u have left right pointers in tree use those for next /back.
>>
>> On Fri, Jun 3, 2011 at 5:13 PM, Piyush Sinha <[email protected]>
>> wrote:
>>> m talking in terms of pointers..
>>>
>>> On 6/3/11, Vipul Kumar <[email protected]> wrote:
>>>> no,use the node of the tree as the node of the LL .
>>>>
>>>> On Fri, Jun 3, 2011 at 5:08 PM, Piyush Sinha <[email protected]>
>>>> wrote:
>>>>> @Vipul....wont this become the case of extra memory overhead???
>>>>>
>>>>> On 6/3/11, Vipul Kumar <[email protected]> wrote:
>>>>>> convert the trees to DLL and then merge them to get the combined
>>>>>> sorted DLL , now create the AVl tree of that DLL.
>>>>>>
>>>>>> On Fri, Jun 3, 2011 at 3:47 PM, Piyush Sinha <[email protected]>
>>>>>> wrote:
>>>>>>> Do the postorder traversal of the 2nd AVL tree and keep inserting the
>>>>>>> value in the 1st AVL tree.Simultaneously go on deleting the same
>>>>>>> node...I hope I am clear.
>>>>>>>
>>>>>>> On 6/3/11, Nate <[email protected]> wrote:
>>>>>>>> Given a two balanced binary search trees.Merge both the trees so that
>>>>>>>> it will form again a balanced binary search tree.
>>>>>>>>
>>>>>>>> --
>>>>>>>> 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.
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> *Piyush Sinha*
>>>>>>> *IIIT, Allahabad*
>>>>>>> *+91-8792136657*
>>>>>>> *+91-7483122727*
>>>>>>> *https://www.facebook.com/profile.php?id=100000655377926 *
>>>>>>>
>>>>>>> --
>>>>>>> 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.
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Piyush Sinha*
>>>>> *IIIT, Allahabad*
>>>>> *+91-8792136657*
>>>>> *+91-7483122727*
>>>>> *https://www.facebook.com/profile.php?id=100000655377926 *
>>>>>
>>>>> --
>>>>> 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.
>>>>
>>>>
>>>
>>>
>>> --
>>> *Piyush Sinha*
>>> *IIIT, Allahabad*
>>> *+91-8792136657*
>>> *+91-7483122727*
>>> *https://www.facebook.com/profile.php?id=100000655377926 *
>>>
>>> --
>>> 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.
>>
>>
>
>
> --
> *Piyush Sinha*
> *IIIT, Allahabad*
> *+91-8792136657*
> *+91-7483122727*
> *https://www.facebook.com/profile.php?id=100000655377926 *
>
> --
> 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