@jalaj: Thanks i got it. But then the question also demands to print all the possible trees and not only the number
On Sat, Jul 3, 2010 at 7:03 PM, jalaj jaiswal <[email protected]>wrote: > derivation of catalan number can be found as : > suppose there is 1 node then we have 1 '(' and 1 ')' > how many ways you can arange them () the only way(shld be balanced > parahtheses) > if two we have (()) ()().. only two i.e two binary trees.. so find a > derivation for it > > On Sat, Jul 3, 2010 at 3:54 PM, Raj N <[email protected]> wrote: > >> @sharad: Can you give a detailed explaination. Also it is required to >> print the possible trees >> >> >> On Sat, Jul 3, 2010 at 7:08 AM, sharad kumar <[email protected]>wrote: >> >>> catalan numbers.....(2n)Cn/(n+1).... >>> >>> >>> On Sat, Jul 3, 2010 at 1:06 AM, Raj N <[email protected]> wrote: >>> >>>> How to find all the possible trees with 3 nodes from a given 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]<algogeeks%[email protected]> >>>> . >>>> For more options, visit this group at >>>> http://groups.google.com/group/algogeeks?hl=en. >>>> >>>> >>> >>> >>> -- >>> yezhu malai vaasa venkataramana Govinda Govinda >>> >>> -- >>> 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. >> > > > > -- > With Regards, > Jalaj Jaiswal > +919026283397 > B.TECH IT > IIIT ALLAHABAD > > -- > 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.
