Solving a 2600 rating question on codeforces using lazy propagation

I wrote this article to kill my time at the home due to the pandemic outbreak. I hope you enjoy and learn something new. There are other better articles but I just wanted to give it a try. Also, it scratches the segment tree on string topic, not the good old range sum and range update problem.

Any constructive criticism is welcomed :slight_smile:

Article

Stay safe :v:t4:

4 Likes