Plz correct my code

@rakesh800650
There are several testcases in one test file. The first input is T i.e no. of testcases you missed it. Also sort your stalls array. It is not sorted

Sir why it is always showing ans 0 plz correct things in code

@rakesh800650
The way you calculate mid is also wrong.
I have made few change in your code. please check here

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.