Sort Array By Parity Leetcode Solution 21