27. Remove Element - LeetCode - Python - Tamil

preview_player
Показать описание
#codemeal #python #leetcode #coding #remove #element #27 #code #array #tamil

Рекомендации по теме
Комментарии
Автор

Innu niraya vedio podunga bro na 1st year so ippa la iruthu try pandren unga vedio semma helpfull pointer method enaku romba helpfull ahh iruku

haripriya
Автор

P=0
For i in nums:
If i!=val:
Nums[p]=i
P+=1
Return p

aadhi_dinesh
Автор

Given array in reverse groups in Python video podunga..

sabarinathan
Автор

nums[:]=[i for i in nums if i!=val]
return len(nums)

Above code ku test case satisfy aagudhu

But, for below its not satisfying

nums=[i for i in nums f i!=val]
return len(nums)

ahamedyaseer