Sort Colors Leetcode Solution Javascript Array Methods Interview