Using Comparator in Lower bound Function

In the Indian money change problem, after we’ve modified the function using comparator function (i.e. we have changed the function from >= to <=) why are we still subtracting 1 from the lower bound index?

hi… can u share the code u are referring to

do u still have any doubt???

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.