Skip to content

Commit ef9fd07

Browse files
committed
add complexity to move zeros file
1 parent b538596 commit ef9fd07

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arrays/move_zeros.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""
22
move_zeros([True, 3, 5, 0, 3, False, None, 0, 'dori', 0]) =>
33
[True, 3, 5, 3, False, None, 'dori', 0, 0, 0]
4+
complexity: O(n)
45
"""
56

67

0 commit comments

Comments
 (0)