in the video sir defines the comparator to be return true when
“a<=b”. But this will be true for all values less than key… i mean if b is the key then upto 100 the comparator will return true for all values
Doubt in the defined comparator
The lower bound function checks the largest element which satisfy that condition.
1 Like