Full Counting Sort Hackerrank Solution