Update array-duplicate-zeros.py

This commit is contained in:
bt3gl 2023-07-30 15:54:21 -07:00 committed by GitHub
parent 896aaaf88f
commit 153b111e09
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,3 +1,7 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# author: bt3gl
# Given a fixed-length integer array arr, duplicate each occurrence of zero, # Given a fixed-length integer array arr, duplicate each occurrence of zero,
# shifting the remaining elements to the right. # shifting the remaining elements to the right.