L373 Partition Array by Odd and Even
Partition an integers array into odd number first and even number second.
Example
Given[1, 2, 3, 4]
, return[1, 3, 2, 4]
Do it in-place.
Last updated
Partition an integers array into odd number first and even number second.
Example
Given[1, 2, 3, 4]
, return[1, 3, 2, 4]
Do it in-place.
Last updated