https://codeforces.com/problemset/problem/813/C
the above link is for one of the question from codeforces. can you tell me the approach to solve this one?
https://codeforces.com/problemset/problem/813/C
the above link is for one of the question from codeforces. can you tell me the approach to solve this one?
Hey @aditikandhway
Please check the tutorial :https://codeforces.com/blog/entry/52410
Also check this https://programmersought.com/article/81041202802/