Leetcode Counting Sort Problems