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
Very Clear Explanation🖤
awesome explanation thankyou so much
great explanation
Thank you. Logic demonstration was very nice.❤
thanks buddy
I had a doubt how did you come to the conclusion that 5 was the minimum number of deletions required?
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.
❤ Thank you! Nice explanation
Very good explanation. Keep going .
Very Nice explanantion
Great video 🙌
Nice
hey whats your id in codeforce
codeforces.com/profile/sreejith