Intersection of Two Arrays II | Leetcode 350 | Live coding session

preview_player
Показать описание
Here is the solution to "Intersection of Two Arrays II" leetcode question. Hope you have a great time going through it.

1) 0:00 Explaining the problem out loud
2) 1:10 Algorithm walkthrough
3) 2:00 Solution approach
4) 4:00 Coding

For discussion/feedback

PS : Please increase the speed to 1.25X

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

What an amazing approach. In fact, I did something similar. That means I've started to leverage my algorithms problems solve skills and your channel has helped me a lot. Thank you for all your efforts.

pubamx
Автор

I did today's question without watching your video
but still here's a like from me XD

shantanusingh
Автор

It can also be done by using one array of size 1001 instead of two :)

elasingh
Автор

If possible can we also discuss the follow up questions mentioned at the bottom in the question. I think it will be really helpful for coding interviews.

tanishqmahendrasaini
Автор

I solve this problem using hashmaps that gets accepted
Is it a correct approach

manimanidev
welcome to shbcf.ru