renan.cakirerk
BAN USERPython Version O(n):
arr = [0, 0, 1, 2, 0, 4, 0, 0 ,8 ,9]
pos = 0
for i in range(len(arr)):
if arr[i] != 0:
arr[pos] = arr[i]
pos += 1
for i in reversed(range(pos, len(arr))):
arr[i] = 0
Repmarkglove17, Associate at Arista Networks
Hi, I am Mark from North Edwards, CA .I am just crazy about dance.I am not professionally trained, but ...
RepHi, I’m Jamie from the Portsmouth USA and I am working as an account manager. I work for a ...
RepMelodyTHeckler, abc at ABC TECH SUPPORT
Earned praised for my work lecturing about get love back by vashikaran. Spent childhood promoting art posters in Jacksonville, FL ...
Repsushiplarson, Animator at Achieve Internet
Hi, I am a creative Assistant Video Editor with experience in all aspects of video production. Working at a post-production ...
Reprealspellcaster4, Cloud Support Associate at Aricent
Hi, I am from PA, United states. I believe in making the impossible possible because there’s no fun in ...
Repashleymbosse, Associate at Accenture
I am an enthusiastic, hard-working and disciplined Catering Assistant with excellent track-record in working in the food industry. I am ...
C version O(n):
- renan.cakirerk March 14, 2012