u/Terrible_Speed3355

Image 1 — Can anyone help me with my approach?
Image 2 — Can anyone help me with my approach?

Can anyone help me with my approach?

I have done a good amount of DSA, and I usually do well on Leetcode contests but for some reason I suck very much at codeforces. Is training for codeforces significantly different compared to Leetcode?

I would really appreciate some advice from people who are doing well on codeforces

u/Terrible_Speed3355 — 23 hours ago