2982. Find Longest Special Substring That Occurs Thrice II | 3 Approaches | HashMap | Arrays

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

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

  • @insofcury
    @insofcury 8 часов назад

    Great Intuition

  • @LinhHoang-ml1qo
    @LinhHoang-ml1qo 6 дней назад

    Very great explaination for observasion in optimise approach, thank you for your content❤‍🔥

  • @sarankumaar6009
    @sarankumaar6009 6 дней назад

    great explanation thanks for the video :)

  • @nocodelimits
    @nocodelimits 6 дней назад +1

    I think need to watch this Video Twice kal ka be thoda sa tough chala gya explanation mere liye🫡

  • @kannank4269
    @kannank4269 6 дней назад

    explaination
    🔥

  • @ahappyperson6530
    @ahappyperson6530 6 дней назад

    Please explain the EDITORIAL solution with O(1) space complexity

  • @screensipsofficial
    @screensipsofficial 6 дней назад

    Great video 👌🏻

  • @laghavmohan7210
    @laghavmohan7210 6 дней назад

    Maybe I am wrong here, isn't the time complexity of second approach (optimised bf) is O(n*n*log(n)), because insertion in map is log(n) and not n? Also if we use unordered_map instead of map, won't it be O(n*n)?
    Btw great solution! never thought O(n) was even possible

  • @rajdippal51
    @rajdippal51 5 дней назад

    How did you came up with this type of solution 😐, very hard to observe

  • @sourabhvishwakarma6274
    @sourabhvishwakarma6274 6 дней назад

    CFBR

  • @Anonymous____________A721
    @Anonymous____________A721 6 дней назад

    Niceeee