From 1b2bcc45d882eb94b9bb6b53c2b3d4c7e9b17e32 Mon Sep 17 00:00:00 2001 From: Eat-Swap Date: Tue, 3 May 2022 13:07:32 +0800 Subject: [PATCH] add: 220502 [cpp] --- cpp/2205/220502.cpp | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 cpp/2205/220502.cpp diff --git a/cpp/2205/220502.cpp b/cpp/2205/220502.cpp new file mode 100644 index 0000000..29e4fd9 --- /dev/null +++ b/cpp/2205/220502.cpp @@ -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 + */ \ No newline at end of file