Sliding Window Technique

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

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

  • @michaelwirtzfeld7847
    @michaelwirtzfeld7847 Год назад +9

    Clear and concise. Thank you for teaching me these techniques.

  • @ashutoshgupta9056
    @ashutoshgupta9056 Месяц назад +3

    Hidden gem of RUclips.

  • @Chuukwudi
    @Chuukwudi 4 месяца назад +4

    Why do you not have a lot of subscribers? You definitely deserve way more. I learn better with these animations. This feels like to me 3 blue 1 brown channel. Thank you very much !!!

  • @touhidiutcse
    @touhidiutcse 29 дней назад +2

    Thank you so much, I hope & pray - you come back with more new videos on other classic problem solving patterns in 2025!

    • @profound.academy
      @profound.academy  28 дней назад +2

      Thanks a lot! Will post another video soon.

    • @touhidiutcse
      @touhidiutcse 28 дней назад

      @profound.academy Love and Respect 💗

  • @omkarborkar95
    @omkarborkar95 2 месяца назад +1

    One of the most clear explanations out there. Thanks!!

  • @tanziee
    @tanziee 3 месяца назад +2

    Please upload more videos, your explanation is really clear. You deserve more subscribers

  • @akhilbabu6337
    @akhilbabu6337 Год назад +4

    Nice explanation 👌

  • @leepaulalexander
    @leepaulalexander 2 месяца назад +1

    Very clear... perfect explanation!

  • @mkycto
    @mkycto 4 месяца назад +1

    Grate explanation and animation! Thank you

  • @SuperNovaxFF
    @SuperNovaxFF 2 месяца назад +1

    Best explanation, keep going bro ✨

  • @pearljam4ever215
    @pearljam4ever215 9 месяцев назад +2

    I really like your videos keep up the good work♥

  • @Nightshft42
    @Nightshft42 5 месяцев назад +1

    Nice explanation. But now I actually wonder if there are cases where the second, dynamic routine misses possible solutions.

    • @profound.academy
      @profound.academy  5 месяцев назад +1

      That's a great question. First, you need to make sure the problem can actually be solved using the sliding window technique. Sometimes the solution involves dynamic programming or other approaches and is not solvable with sliding window.
      Once you know the problem is solvable using the sliding window technique, you need to figure out an update procedure where you move from the previous segment of elements to the new one. This usually depends on the problem but in most cases you can increment one side 1 by 1 and adjust the other side with a while loop. That will make sure you don't miss any possible solutions.

  • @truongnguyenthang9708
    @truongnguyenthang9708 2 месяца назад +1

    Greate explanation. Thanks

  • @bluesupreme5720
    @bluesupreme5720 Месяц назад +1

    shad merci !

  • @ahmedabdalh66
    @ahmedabdalh66 8 месяцев назад +1

    Thank you so much

  • @KaledDahleh
    @KaledDahleh 5 месяцев назад

    great exokanatio

  • @rafa017i9
    @rafa017i9 9 месяцев назад

    🤩🤩