Re: [algogeeks] Re: Modified subset-sum problem

2010-08-31 Thread Chi Hoang
Pairs of: ['1_2'] ['1_3'] ['1_4'] ['1_5'] ['1_6'] ['1_7'] ['2_3'] ['2_4'] ['2_5'] ['2_6'] ['2_7'] ['3_4'] ['3_5'] ['3_6'] ['3_7'] ['4_5'] ['4_6'] ['4_7'] ['5_6'] ['5_7'] ['6_7'] N^2-(N-1). Am 31.08.2010 14:37, schrieb Maria: > @Wladmir- Can u plz explain ur code??? > > -- You received this

Re: [algogeeks] Binary tree to LL

2010-08-26 Thread Chi Hoang
Am 26.08.2010 18:59, schrieb krazee koder: > Give all possible methods to flatten a binary tree to a linked list. > > for eg. > >50 > / \ > 25 60 > / \ / \ > 530 55 75 > > > should be flattened to 5->25->30->50->55->60->75 > > PS: note that the tree should be

Re: [algogeeks] Re: Longest Palindromic Substring

2010-08-23 Thread Chi Hoang
t;> > > . >> > > For more options, visit this group at >> > >http://groups.google.com/group/algogeeks?hl=en. >> > >> > Please access the attached hyperlink for an important electronic >> communications disclaimer: >> http: