Duplicate Zeros
Input: [1,0,2,3,0,4,5,0]
Output: null
Explanation: After calling your function, the input array is modified to: [1,0,0,2,3,0,0,4]
Input: [1,2,3]
Output: null
Explanation: After calling your function, the input array is modified to: [1,2,3]Solutions
π§ Cpp
Last updated