@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]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
