what we will actually pass in comparetor fun .what is a and b in actually what we compare
About comparater function
using comparator function, you can explicitly provide the condition check for binary search! for in given content, a<=b gives maximum index value such that element at that index is less than equal to money, so a is coins[i] and b is money.