Leetcode Counting Sort Problems With Facebook