You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Desc.: Given array of number, duplicate every zero you will find.
// Length should remain the same.
// Expl.: Iterating through array with for loop, when i encounter "zero", i will splice array in current idx+1, insert one zero and poping last element for maintaining length of array