Here is my approach; Sort the two arrays and reverse one of the array list and append it to make a bitonic sequence and then apply bitonic merge sort to get a final sorted list.
Here is an example for it. http://codepad.org/8Uv7AOKo thanks, Anand On Sun, Jun 13, 2010 at 8:13 PM, sharad kumar <[email protected]>wrote: > @ vadivel,yes i mean the former has got unused space in which the latter > can occupy > > -- > 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.
