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

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

КОМЕНТАРІ • 13

  • @insofcury
    @insofcury 5 днів тому

    Great Intuition

  • @LinhHoang-ml1qo
    @LinhHoang-ml1qo 11 днів тому

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

  • @ahappyperson6530
    @ahappyperson6530 11 днів тому

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

  • @sarankumaar6009
    @sarankumaar6009 11 днів тому

    great explanation thanks for the video :)

  • @nocodelimits
    @nocodelimits 12 днів тому +1

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

  • @kannank4269
    @kannank4269 12 днів тому

    explaination
    🔥

  • @screensipsofficial
    @screensipsofficial 12 днів тому

    Great video 👌🏻

  • @rajdippal51
    @rajdippal51 11 днів тому

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

  • @laghavmohan7210
    @laghavmohan7210 11 днів тому

    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

  • @sourabhvishwakarma6274
    @sourabhvishwakarma6274 11 днів тому

    CFBR

  • @Anonymous____________A721
    @Anonymous____________A721 12 днів тому

    Niceeee