Search for a range, a probelm in inerviewbit binary search section..... everything seems fine..i wrote a afunction based on the tutorial of mycodeschool and getting TLE coz of infinte loop for some trest case...
but instead of making func call using bool.... i jz wrote exact copy of func..and got accepted....still dont understand why it happened .
https://www.interviewbit.com/courses/1/topics/4/problems/search-for-a-range/previous_submissions/
TLE : 11
AC : 12
but instead of making func call using bool.... i jz wrote exact copy of func..and got accepted....still dont understand why it happened .
https://www.interviewbit.com/courses/1/topics/4/problems/search-for-a-range/previous_submissions/
TLE : 11
AC : 12