Contains Duplicate II - LeetCode 219 - Python

Поділитися
Вставка
  • Опубліковано 16 гру 2024

КОМЕНТАРІ • 8

  • @ubabruwad
    @ubabruwad Місяць тому +1

    Loved the explaination! You made it very simple to understand

  • @siddharthbansal3817
    @siddharthbansal3817 5 місяців тому +3

    I had solved this problem previously using some complicated sorting approach. Now that I see this I feel like a fool for not thinking of it, great solution as usual. You made it so simple.

    • @DEEPTITALESRA
      @DEEPTITALESRA  5 місяців тому

      haha yea sometimes the easier solutions are harder to see 😅, thanks Siddharth!!!:))

  • @vidhyarani1432
    @vidhyarani1432 5 місяців тому +2

    As usual you are rocking... Thanks for teaching us in a very understable wayyyyyy!!

  • @Moonman-ns2xb
    @Moonman-ns2xb 5 місяців тому +2

    Omgg you’re the best

  • @enterprisecloudnative8757
    @enterprisecloudnative8757 2 місяці тому

    you can also use sliding window to solve this