[algogeeks] Re: recursion issue

2006-03-28 Thread Mayur
Could you please specify in a little more detail as to what "pattern' you wish to get. Do you wish to traverse the entire tree structure, or do you want production rules? On 3/29/06, Dinesh Bhatt <[EMAIL PROTECTED]> wrote: Dear X,     U can do it very easily.     Just consider root as pare

[algogeeks] Re: recursion issue

2006-03-28 Thread Dinesh Bhatt
Dear X,     U can do it very easily.     Just consider root as parent    Now start from parent go to child   Now consider child as parent and go on till u get no child . In case of any problem do mail me at [EMAIL PROTECTED]     On 2/7/06, sam <[EMAIL PROTECTED]> wrote: Hi,

[algogeeks] Re: Program This!

2006-03-28 Thread BiGYaN
Hey Admin, Please ban this fellow. He's just using the group for his own well being and spamming the group !! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send emai

[algogeeks] Re: Linking sibling in a binary tree

2006-03-28 Thread NUPUL
>I was wondering if there is any >method to link all sibling nodes >in a binary >tree i suggest you read up something on B trees and B+ trees and then put forth this question. Nupul --~--~-~--~~~---~--~~ You received this message because you are subscribed to t

[algogeeks] Re: DataStructure - Push,Pop & Find_Min in O(1)

2006-03-28 Thread [EMAIL PROTECTED]
Fine, I read it "can" be! Bone head! Obvi can't, as some one already put it that would mean sorting in O(n). --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email

[algogeeks] Re: DataStructure - Push,Pop & Find_Min in O(1)

2006-03-28 Thread [EMAIL PROTECTED]
Great! Since we're dealing with a stack here your assertion is that find_min doesn't change until the current min is popped of the stack. However, Balaji Gopalan wrote: >the extension of this prob asks whether one more function extract_min() >(which returns and deletes the current minimum ) can be