Leetcode Counting Sort Algorithm In C