How to partition an array in such way zeros to be moved on the left side of the array, other numbers on the right side of the array. Extra storage is not allowed, only in-place

Difficulty 9
Helpful 8
Save 0
View 799