Comments

it passes. see my code

I wasted so much time thinking this approach would TLE :(

hi, did you get why this approach is incorrect? I thought of the same.