Just one testcase passed. Unable to pass all the test cases


This is my code


use same concept for lowerbound as well with a slight change that e = mid-1 when a[mid]==target