how does the compare function worked while funding the lower bound.
Working of compare function
@jindaldivish hey hmne apna compare function islie bnaya taki hm lower bound me finding ke equal ya just usee chote element ka index find kr ske ,as normal lower bound hme finding element ke equal ya fir usse bda deta hai index,to hmne comparator me compare ke time equal and usse chota bhi lelia.
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.