Intel Corporation interview question

How to sort in O(n) given additional information about the array