All test case failing expect 0
Hello @anubhavb11, hey bro you are not actually calculating that values matches or not.
Suppose input is only 3 is the no. and when I query 1 it will return 0 for lower_bound and same for the upper_bound you are not checking the value there as well.
Pls refer this…
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.