HCL America Interview Question
Software Engineer in TestsABCsort is blazing fast (O(n), and never moves records or keys); its output is an index table of pointers to records. The algorithm is patented by the author, however, who sells examples. It runs about 3* as fast as QuickerSort for 30-character records, for example, and is even faster when implemented in Field Programmable Gate Array HW. Check out my writeup via any search on 'ABCsort'. And oh, yes: sorting on multiple keys at once works nicely on a multiprocessor like a Sparc.
it would depend on what you would like to sort/resources available etc..
- Anonymous August 10, 2009