sir why it is giving 120 in lower bound when we searched for key = 45. while 120 is address of key 50?..
Confused in lower bound
hi @uditmudgal07_2f40cca755bd8bd2 lower bound gives address of element equal to or greater than that element as 45 is not present so it gives address of element greater than 45
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.