why m.upperbound(77) not print 77 and m.upperbound(80) print 80
Lower and upper bound
@ajayrajsingh_817 if element not present lowerbound return iterator to greater element than itself.
hope its clear if yes dont forget to hit like and mark resolved
80 is not present in a array still it prints 80 same in the case of 77 it is also not present in a array why it not print 77
can you share me the code then?
share it using cb ide link
doubt is from vedio lecture
@ajayrajsingh_817 bro then just type the code in your system first observe the output and if any problem then ask . ( i dont have the video lecture)
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.