Sort Colors Leetcode Solution Javascript Interview