Make it Alternating | Codeforces 1879C Solution | Educational Codeforces Round 155 | English

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ก.ย. 2024
  • In this video, I walk through the solution to problem C from Educational Codeforces Round 155 (Rated for Div. 2) contest held on:
    Contest link: codeforces.com...
    Problem name: "make it alternating"
    My Submission:
    codeforces.com...
    I explain the thought process and logic behind the solution and show how to implement it in code. Don't forget to like and subscribe for more coding content!
    #codeforces #programming #coding #competitiveprogramming, #combinatorics , #dp , greedy code + explanation, today codeforces contest solutions
    Something else: / sreejithcoast

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

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

    Very Clear Explanation🖤

  • @ManviSharma-b3f
    @ManviSharma-b3f หลายเดือนก่อน

    awesome explanation thankyou so much

  • @saurabh.gupta22
    @saurabh.gupta22 5 หลายเดือนก่อน +1

    great explanation

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

    Thank you. Logic demonstration was very nice.❤

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

    thanks buddy

  • @harshsingh-eq5ix
    @harshsingh-eq5ix ปีที่แล้ว +2

    I had a doubt how did you come to the conclusion that 5 was the minimum number of deletions required?

    • @codingdynamo
      @codingdynamo  ปีที่แล้ว +1

      Watch from 4:17 to 5:05
      We just have to remove only numbers that are consecutive. We can remove more, but the string is already alternate. So we just remove the duplicates that are consecutive, which are 5 in our case.
      Please revert in case if you are still unclear.

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

    ❤ Thank you! Nice explanation

  • @jsa155
    @jsa155 ปีที่แล้ว

    Very good explanation. Keep going .

  • @GauravDuseja-t6q
    @GauravDuseja-t6q 5 หลายเดือนก่อน

    Very Nice explanantion

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

    Great video 🙌

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

    Nice

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

    hey whats your id in codeforce

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

      codeforces.com/profile/sreejith