This is my code
Just one testcase passed. Unable to pass all the test cases
use same concept for lowerbound as well with a slight change that e = mid-1 when a[mid]==target
This is my code
use same concept for lowerbound as well with a slight change that e = mid-1 when a[mid]==target