I am getting TLE error, So what is the problem with the code and how to overcome that
Here is the link to my code:
Arrays-Binary Search
hello @priyanka_20
the mid formula is not correct .
either use
mid=(start+end)/2
or
mid= start + (end-start)/2