Meet in the Middle | Tutorial & Problems

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

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

  • @punitpatel5565
    @punitpatel5565 2 года назад +6

    there are few nicest guys in competitive programming community or in general programming community like William Fiset from google who loves to share their knowledge. No doubt Errichto is one of them with clear understanding and full control on programming. Keep up.

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

    good question was asked at @32:26 and nice answer "looking for third and fourth elements in quadraple". This helps to simplify implementation and can be applied to other questions as well like dynamic programming questions.

  • @nitinpandey7478
    @nitinpandey7478 3 года назад +4

    Nice session, will love to see more in the future!!

  • @sumitprajapati821
    @sumitprajapati821 3 года назад +4

    Learnt something new. Nice...!!

  • @punitpatel5565
    @punitpatel5565 2 года назад +1

    Just curious if anyone was looking for nlogn solution using fenwick tree. since we are looking for number of elements which are less than b on left hand side and greater than b on right hand side, we just need to maintain two fenwick trees one for left side view and one for right side view. Using sweep line we can maintain both dynamically and calculate answer.

  • @anandverma2083
    @anandverma2083 3 года назад +1

    Its my observation that in most of the problems which asks about 3 indices Meet in the middle works

  • @David-lu6np
    @David-lu6np 3 года назад +1

    Great session ... Looking for more in future.

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

    vector over sets really worked. Thanks

  • @ahbarahad3203
    @ahbarahad3203 Месяц назад

    33:40 bro said skill issue 😭

  • @pypcdev7656
    @pypcdev7656 3 года назад

    thanks for the nice lecture

  • @beastfromeast-w2d
    @beastfromeast-w2d 3 года назад +3

    Can you please do stack and queues algorithms?? If you have already done some stream or problems about it, somebody plz share the video title. Thanks

  • @ITACHIUCHIHA-dr8sz
    @ITACHIUCHIHA-dr8sz 3 года назад

    In the four sum problem wouldn't the count of pairs with distinct positions be wrong if there are duplicates
    for example for this input
    8 15
    3 2 3 2 8 1 3 2
    ans is 12.

  • @GGxEpsilon
    @GGxEpsilon 3 года назад +6

    Arigato senpai (◕ᴗ◕✿)

  • @josephwong2832
    @josephwong2832 3 года назад

    cool

  • @035asadali8
    @035asadali8 2 года назад +2

    i see p5 and when i hear graph i stop the video bcoz i dont know a single algorithm about graph ,i see the video again after learning and practicing graph,i dont know dp either ,so sad