Do these functions in algorithm header file only work for those elements that occur consecutively in order?
Example : 40 40 40
Upper Bound and Lower Bound
hello @pranavsaihgal911
if data is sorted then u can apply upper and lower bound.
no any other condition is required.
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.