Guys I have been trying to solve this problem with my approach which differs from editorial so can you please help me in solving this problem.
Problem : 1352F Binary String construction https://mirror.codeforces.com/contest/1352/submission/80051458
I am a noob Hoping that you guys would help me out.
Gracias Lord_Thunder.