Mike__And__Hashtricks


sir my code is giving wrong answers. please help me out and suggest changes if my approach is wrong.

Hi @rajukumarbhui
You code is giving wrong answer and TLE in many cases because it a greedy problem. So have a look at this video this will help you to understand the problem.

sir i had seen the video many times but i didn’t got it.