Leetcode Counting Sort Algorithm Step