Assignment: #CountingSort Due: 04/30/2017 Points: 3

Specification

Implement CountingSort.java to sort an array of type byte where the values are in the [Byte.MIN_VALUE, Byte.MAX_VALUE] interval.

Note: Your program is not allowed to call any sorts methods from the Java class library.

The output of your program must match the following.

unsorted: 7 -128 0 7 -7 127 0 7 -128 7 42 -42 
sorted: -128 -128 -42 -7 0 0 7 7 7 7 42 127