Educational Codeforces Round 172 | Video Solutions - A to D | by Abhinav Kumar | TLE Eliminators

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ม.ค. 2025

ความคิดเห็น • 23

  • @TLE_Eliminators
    @TLE_Eliminators  หลายเดือนก่อน

    TLE 12.0 - our Competitive Programming course TLE 12.0 is live!
    Enrol now at www.tle-eliminators.com/?referralCode=859D315C
    Please fill the Feedback form for PCD: forms.gle/pqtCEY47dsE21wJE7

  • @Abhishek-e6d2c
    @Abhishek-e6d2c หลายเดือนก่อน +10

    what an observation for C!!!! Such a talented guy

  • @rohitGargRg
    @rohitGargRg หลายเดือนก่อน +1

    Please upload codechef contest analysis also

  • @PubgMerabeta
    @PubgMerabeta หลายเดือนก่อน +3

    i understand your approach in problem C . But i need some explanation !
    Like you are telling that the net sum is = suf[i] + suf[j] ..... for every partition right ?
    But in every partition in question they said we have to multiply suffix or that partition value by that partition m , right ? Then why you said just adding suf[i] for every partition will give us the right output ?

    • @shivamshaw_07
      @shivamshaw_07 หลายเดือนก่อน

      Agar hum log add kar rahe hai suffix then woh multiply jaisa hi ho raha hai. Try to visualise

    • @Virtualexist
      @Virtualexist หลายเดือนก่อน

      When we are adding a new partition at position p while moving from right to left, we increase the points for each fish in the partition to the right of our partition. And suffix array stores the value of difference of scores up to this point p.
      Now see, the n-1 th would be added (n-1) minus partition so far times while adding a suffix, which essentially means the same time as is the value of points of the fishes in partition.
      Precisely we are adding it 'k' times, on the go, instead of multiplying by some partition number Pn, because we are not aware of how many partitions we need yet.

    • @divyanshmishra717
      @divyanshmishra717 หลายเดือนก่อน

      @@shivamshaw_07 bhai koi editorial ya article ya video hai is logic ko explain krte?

  • @mradultiwari9864
    @mradultiwari9864 หลายเดือนก่อน +1

    very nicely explained : D

  • @utsavaggrawal2697
    @utsavaggrawal2697 หลายเดือนก่อน

    Great explanation

  • @naturesrevolution
    @naturesrevolution หลายเดือนก่อน +1

    I am good at dsa in leetcode including graph,tree,dp etc.. but I don't know anything in competitive programming which level of tle course should I take

    • @MindStealerx
      @MindStealerx หลายเดือนก่อน +1

      Try to give 3-4 virtual contest and then choose based on your performance.

    • @naturesrevolution
      @naturesrevolution หลายเดือนก่อน +1

      @MindStealerx I could'nt solve even 1

    • @naturesrevolution
      @naturesrevolution หลายเดือนก่อน +1

      @MindStealerx Also I don't know how to view solutions it's showing N/A

  • @sharayuyeole1612
    @sharayuyeole1612 หลายเดือนก่อน +1

    👍👍

  • @roman1111-g9u
    @roman1111-g9u หลายเดือนก่อน +1

    Is c solvable using binary search?i was trying to apply binary search on group number from (2 to n) but got wrong ans on some testcase😢.if anybody solved using binary search pls share ideas

    • @AlchelifAcademy
      @AlchelifAcademy หลายเดือนก่อน +1

      Not possible it does not follow the Binary property

  • @KenOrSomething
    @KenOrSomething 16 วันที่ผ่านมา

    The explanation for problem D is horrendous.

  • @devilboy4384
    @devilboy4384 หลายเดือนก่อน

    was this round not rated??