public static void main(String args[]){
        int arr[] = {100,2,124,18,36};
        Sort0toN3 sn = new Sort0toN3();
        sn.sort(arr,arr.length);
        for(int i=0; i < arr.length; i++){
            System.out.print(arr[i] + " ");
        }
    }
http://www.geeksforgeeks.org/sort-n-numbers-range-0-n2-1-linear-time/
src/com/interview/sort/Sort0toN3.java