Find all Duplicates in an Array | Leet code 442 | Theory explained + Python code

preview_player
Показать описание
This video is a solution to Leet code 442, Find all Duplicates in an Array. I explain the question and the best way to solve it and then solve it using Python.

Comment below if you have a better solution to this problem!

Let me know if you have any feedback and don't forget to subscribe for more videos!

More leetcode questions solved:

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

Great bro
Keep making videos
I just love the way you explain

Rohit-qpye
Автор

can anyone tell why he wrote class solution ? and also in define why write this ->list[int] its showing error to me

thelifesaver
Автор

@Sai Anish Malla, Good explanation dude, but if num repeated more than twice in an array, code will return duplicate output, Can you please check this?

saravanapothi
Автор

oof grinding back to back videos. Nice man

yaswanthsingamaneni
Автор

Need reference for your logic, please provide for better depth understanding. By the way great video. Thank you.

thirudx
Автор

The explanation was pretty nice. But still leaves me wondering, how to come up with such solutions on our own. :/

ashutoshlohogaonkar
Автор

what if after resting one to the first numbrer we get a number greater that the list length?

miguelescutia
Автор

still don't understand but GREAT VIDEO

imranhusain
Автор

Nice explanation.But your accent sounds fake.But good job well done.Try a simpler accent

hallofinnovation