Check my code binary search

showing time out error

hello @naaz


here it should be
mid=(s+e)/2

and
e=mid-1