What is the error in using these stl functions?
: lower_bound () finds the lower bound of the searching element in a range. Lower bound means the least element in the range which is greater or equal to the searching element.
hence it will also give ans even if element doesn’t exist
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.