today edu div 2
i wasted so much time on b for no reason i was trying to find better way but endup with the idea from where i started just check if count of 3 current no. and last valid place for 1 found is less than half of size ....
after than c was long question in my opinion it was long in solving part logic was easy tbh but reach there took time for me it was multi step processs idk man
i had find freq. and then find sf summation of it and then check the condition with k for each i
i could have got alot better rank i belive if didnt wasted alot of time and b and because it i had no time for d
i could be pupil
btw its my practice account i am pupil on my account