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
Given a fixed-length integer array, duplicate each occurrence of zero and then shift the remaining elements to the right.
In the output array, elements upto the original array length will be printed.