Binary search for an element less than or equal to a given

Viewed 219

is there a way to quickly find a element that is equal or less than the given in set container, using the "algorithm" library? I have an algorithm that I wrote, but I think that it will be better and more convenient with the library.

0 Answers
Related