mirror of
https://github.com/autistic-symposium/master-algorithms-py.git
synced 2025-05-23 00:41:19 -04:00
Update array-move-zeros-inplace.py
This commit is contained in:
parent
e96bf43463
commit
3b218fae01
1 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
#!/usr/bin/env python3
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# author: bt3gl
|
||||||
|
|
||||||
|
|
||||||
'''
|
'''
|
||||||
Given an integer array nums, move all 0's to the end of it while
|
Given an integer array nums, move all 0's to the end of it while
|
||||||
maintaining the relative order of the non-zero elements.
|
maintaining the relative order of the non-zero elements.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue