sir i have doubt in comparator operator operator i didnot understooed
return a<=b;
sir if key = 200 and it is at index 7 than the upper_bound()
function will return the index and after subtracting 1 index should be 6 but why it is still showing 7???