add: 220502 [cpp]

This commit is contained in:
Eat-Swap 2022-05-03 13:07:32 +08:00
parent 713baba787
commit 1b2bcc45d8
Signed by: Eatswap
GPG Key ID: BE661106A1F3FA0B
1 changed files with 7 additions and 0 deletions

7
cpp/2205/220502.cpp Normal file
View File

@ -0,0 +1,7 @@
/**
* 905. Sort Array By Parity
* Given an integer array nums, move all the even integers at the beginning of the array followed by all the odd integers.
* Return any array that satisfies this condition.
*
* Refer: 220428-CN.cpp
*/