@Bittu: Isn't it silly to use an O(n log n) algorithm when just naively clicking on the digits in order gives an O(n) algorithm?
Dave On Feb 2, 8:16 am, bittu <[email protected]> wrote: > @dave ,saurabh sorry..i didn't sort the array but after sorting we can > do.. > > Thanks > Shashank -- 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.
