1 votes 1 votes how to sort n integers in the range 0 to n3−1 in O(n) time. Algorithms algorithms sorting + – vaishali jhalani asked Nov 7, 2016 vaishali jhalani 2.5k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes Counting Sort is used to sort n integers in the range 0 to n^3-1. http://www.geeksforgeeks.org/sort-n-numbers-range-0-n2-1-linear-time/ Arnab Bhadra answered Mar 22, 2017 Arnab Bhadra comment Share Follow See all 0 reply Please log in or register to add a comment.