@TurksHead: No its linked list to tree

On Wed, Aug 25, 2010 at 6:59 AM, TurksHead Education <
[email protected]> wrote:

> I hope you are not talking about converting a tree into a linked list
> http://www.rawkam.com/?p=1139
>
>
>
> On Tue, Aug 24, 2010 at 7:20 AM, Raj N <[email protected]> wrote:
>
>> I came across this example that the leaves of the tree can be the nodes of
>> a linked list and  the inner nodes of the tree can be the number of left
>> subtrees. This kinda data structure can be used to find the kth element of a
>> linked list very easily. I was not able to implement such an idea.. Can
>> anyone help me doing that ?
>>
>>
>> On Tue, Aug 24, 2010 at 5:54 AM, Adam <[email protected]> wrote:
>>
>>> What do you exactly mean? You want to represent a linear structure by
>>> using a tree structure?
>>> You can imagine a linked list as a tree with all its root and inner
>>> nodes only having one descendent/child node.
>>>
>>> On Aug 23, 10:50 am, Raj N <[email protected]> wrote:
>>> > What will be the representation. How do you define left and right
>>> pointers
>>> > of the tree for a linked list.
>>> >
>>> > On Mon, Aug 23, 2010 at 10:35 PM, Yan Wang <[email protected]
>>> >wrote:
>>> >
>>> > > Actually, a linear data structure like a linked list is also a
>>> > > specific kind of tree structure.
>>> >
>>> > > 2010/8/23 Raj N <[email protected]>:
>>> > > > Hi,
>>> > > > Could anyone help me representing linked list in the form a binary
>>> > > > tree ?
>>> >
>>> > > > Thanks !!
>>> >
>>> > > > --
>>> > > > 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]<algogeeks%[email protected]>
>>> <algogeeks%[email protected]<algogeeks%[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]<algogeeks%[email protected]>
>>> <algogeeks%[email protected]<algogeeks%[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]<algogeeks%[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]<algogeeks%[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]<algogeeks%[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