Code:
class Solution:
def moveZeroes(self, nums: List[int]) -> None:
g=nums.count(0);
i=0;
while(i<g):
nums.remove(0);
nums.append(0);
i=i+1;
Python for beginners: https://www.youtube.com/watch?v=egq7Z...
Telegram: https://t.me/clcoding_python https://www.facebook.com/pirawenpython/
Python for beginners: https://www.youtube.com/watch?v=egq7Z...
Telegram: https://t.me/clcoding_python https://www.facebook.com/pirawenpython/
0 Comments:
Post a Comment