Doubt doubt doubt

What should be the " end " initially for binary search in this question?

@priyamthakuria27 here end should be equal to n


i hope its clear if yes dont forget to mark the doubt resolved and hit like :smiley:

why not anything less than that?
like the kth underoot?

@priyamthakuria27 well we have to try all the answers so end=n