Dabagh's blog

By Dabagh, 4 years ago, In English

Hi.

Consider a set of integers S and an integer X.

How to find the maximum integer less than X in S using lower_bound and/or upper_bound?!

How to find the minimum integer greater than X in S using lower_bound and/or upper_bound?!

Read more »

 
 
 
 
  • Vote: I like it
  • -3
  • Vote: I do not like it