442. Find All Duplicates in an Array | HashMap | 4 Approaches | O(1) Space - No modification
Vložit
- čas přidán 23. 03. 2024
- In this video, I'll talk about how to solve Leetcode 442. Find All Duplicates in an Array | HashMap | 4 Approaches | O(1) space - No modification of Input
Checkout DSA-169 Series: • Aryan DSA-169 Series |...
100Days 100k Placements: • 100 Days 100K Placement
Let's Connect:
📝Linkedin: / aryan-mittal-0077
📸 Instagram: / ez.pz.dsa
📱Telegram : t.me/aryan_mittal_group
🤖 Github: github.com/aryan-0077
About Me:
I am Aryan Mittal - A Software Engineer in Goldman Sachs, Speaker, Creator & Educator. During my free time, I create programming education content on this channel & also how to use that to grow :)
✨ Timelines✨
✨ Hashtags ✨
#programming #Interviews #leetcode #faang #maang #datastructures #algorithms
The main thing is why 2 pass is required in most optimal approach & why not 1 pass is sufficient, do understand that important portion too ❤✅
I've solved using similar intuition that to keep the freq within the indices using * and / operators: int maxi = nums.size()+1;
for(int i = 0;i
wow thanks
bhai op
what you are doing for community is really great
Watching his video after 3 years.
Dude you just look so different. Kudos for the development
Bhaiya please notes bhi attach kr dio kro..if possible
bhai tumhare jaise pro max coder kab banunga
ek number
bro waiting for 100days series