442. Find All Duplicates in an Array | HashMap | 4 Approaches | O(1) Space - No modification

Sdílet
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

Komentáře • 10

  • @ARYANMITTAL
    @ARYANMITTAL  Před 3 měsíci +7

    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 ❤✅

  • @codingkart245
    @codingkart245 Před 3 měsíci

    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

  • @TheBaljitSingh
    @TheBaljitSingh Před 3 měsíci

    wow thanks

  • @johhnysans2092
    @johhnysans2092 Před 3 měsíci

    bhai op

  • @sarankumaar6009
    @sarankumaar6009 Před 3 měsíci

    what you are doing for community is really great

  • @prateeksinghal7114
    @prateeksinghal7114 Před 3 měsíci

    Watching his video after 3 years.
    Dude you just look so different. Kudos for the development

  • @kkkkkkkkkk811
    @kkkkkkkkkk811 Před 3 měsíci +3

    Bhaiya please notes bhi attach kr dio kro..if possible

  • @Sumit-wy4zp
    @Sumit-wy4zp Před 3 měsíci +2

    bhai tumhare jaise pro max coder kab banunga

  • @cs51904
    @cs51904 Před 3 měsíci +2

    ek number

  • @satwiktatikonda764
    @satwiktatikonda764 Před 3 měsíci

    bro waiting for 100days series