Leetcode Counting Sort Pseudocode Examples Python