Possible Duplicate:
Sorting in linear time?
Suppose we are given a sequence S of n elements, each of which is an integer in the range [0,n^2-1]. Can we sort it in O(n) time?
Please dont mind me asking too many interview questions. I am just appetent.