@Sharad question says give a way to store a tree in an array. for that any way we need to parse the tree and store every element into an array.
On Tue, Jun 22, 2010 at 7:53 PM, sharad kumar <[email protected]>wrote: > but if tree is sparse then lot of space will be wasted > > -- > 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.
