contiguous array leetcode | contiguous array leetcode python | python solution leetcode 525

preview_player
Показать описание
Please like the video, this really motivates us to make more such videos and helps us to grow. thecodingworld is a community which is formed to help fellow student and professionals looking to crack the “coding interviews”.

We love solving and sharing problems which are frequently asked in technical interviews and voted by community at various websites.

✅ For more and upcoming updates join our community

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

Your explanation is clear as usual ! Thank you~

sunacha
Автор

can someone please explain why we must initialize the dictionary with {0:-1} at the beginning? great explanation though!

Abe
Автор

Thank you for your explanation, really nice and clear

danifof
Автор

what about this code
x=list(map(int, input().split()))

count=0
max=0
for j in x:
if j==1:
count+=1
else:
count-=1
if count==0:
max+=2
print(max)

thisissharief
Автор

Thanks for the explanation, it was very clear and thorough!

nicholaswood
Автор

Thank you so much. Clicked and typed 👍🏻

mohamedfyrose
Автор

Great bro...Keep it up..Love and support from all of us..One suggestion from myself will be that please don't use red color to explain..

accepted
Автор

nice one..Good question level on arrays..

mayankrathi
Автор

I must suggest u to do videos in will be very easy to understand 👍👍

vedantkhullar
Автор

Very clear explanation. I like the choice of the software + hardware you use to write. Is it an iPad?

afaqansari
Автор

great explanation. I was wondering, what software do you use to write?

stephan
Автор

It wont pass this test case [0, 0, 1, 0, 0, 0, 1, 1]

geekydanish
welcome to shbcf.ru