Given two arrays a[] = {1,3,2,4} b[] = {4,2,3,1} both will have the same numbers but in different combination. We have to sort them . The condition is that you cannot compare only elements within the same array.You can compare element of one array with another only.
On Jul 27, 8:45 am, sivaviknesh s <sivavikne...@gmail.com> wrote: > ---------- Forwarded message ---------- > From: Padmaja Sridharan <padmaja...@yahoo.in> > Date: Wed, Jul 27, 2011 at 5:15 AM > Subject: SORTING ARRAYS > To: mitcse08i...@googlegroups.com > > Given two arrays > a[] = {1,3,2,4} > b[] = {4,2,3,1} > both will have the same numbers but in different combination. > We have to sort them . The condition is that you cannot compare only > elements within the same array.You can compare element of one array with > another only. > > ~With Regards > Padmaja > > -- > Regards, > $iva -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.