Longest Substring Without Repeating Characters - LeetCode 3 - JavaScript

Поделиться
HTML-код
  • Опубликовано: 3 ноя 2024

Комментарии • 14

  • @agnathavaasi5312
    @agnathavaasi5312 7 месяцев назад +1

    This explanation is gold!! Please keep posting

    • @AlgoJS
      @AlgoJS  7 месяцев назад

      Got some new walk-throughs coming out shortly

  • @sudhakardhayalan8874
    @sudhakardhayalan8874 2 месяца назад

    Appreciate your effort. Good one, I've solved it already but my solution was using n*n time complexity. Here it's n and I got to know about this sliding window technique. Thanks

  • @yuvaranikannan9297
    @yuvaranikannan9297 Год назад +1

    On point explanation without too much of info. Keep uploading thank you

    • @AlgoJS
      @AlgoJS  Год назад

      Thank for the comment, appreciate it!

  • @chinwubachukwudi4483
    @chinwubachukwudi4483 Год назад +1

    brief and precise.
    thank you!

    • @AlgoJS
      @AlgoJS  Год назад +1

      Thanks for watching 👍

  • @chaitanya4600
    @chaitanya4600 2 года назад

    Top Quality Content !

    • @AlgoJS
      @AlgoJS  2 года назад

      Thanks Chaitanya, and good luck with any interviews you have!

    • @chaitanya4600
      @chaitanya4600 2 года назад

      @@AlgoJS Keep uploading!
      thanks :)

  • @brianspinos2589
    @brianspinos2589 10 месяцев назад

    Could we use a hash of character to index, then when we find a repeated character, we can move the left pointer to the index after the first occurance of the repeated character ? that would eliminate many re-runs

  • @amotekundev
    @amotekundev Год назад

    Thank you

  • @fskubsarts4250
    @fskubsarts4250 15 дней назад

    I did not get why use the set, why don't use a array?

    • @RaviGILL-s1f
      @RaviGILL-s1f 8 дней назад

      Set only store unique values