LeetCode: 905-Sort Array By Parity 解題紀錄
Last Updated on 2022-05-02 by Clay
題目
Given an integer array nums
, move all the even integers at the beginning of the array followed by all the odd integers.
Last Updated on 2022-05-02 by Clay
Given an integer array nums
, move all the even integers at the beginning of the array followed by all the odd integers.