n is clearly a number lets say 3 then BST's with 1,2,3 values as key are to be calculated
On Fri, Jul 30, 2010 at 9:08 AM, Apoorve Mohan <[email protected]>wrote: > @AMIT: what does "n" represents? > > > On Fri, Jul 30, 2010 at 5:46 AM, sharad kumar <[email protected]>wrote: > >> @amit is it BST or binary tree??cos BST is unique rite???binary tree meas >> use catalan numbers 2nCn/(n+1)! >> >> >> >> On Thu, Jul 29, 2010 at 9:56 PM, amit <[email protected]> wrote: >> >>> Given the numbers from 1 to n, write an algorithm to find how many >>> distinct binary search trees can be formed.. eg n=4, no of distinct >>> bst's are 14. ?? >>> >>> -- >>> 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. >> > > > > -- > regards > > Apoorve Mohan > > -- > 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. > -- Amit Jaspal Btech 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]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
