Lower_bound and upper_bound

in the video in a line we used lower_bound(some value+1)
so that we get a greater value for sure and not >= and after some lines we used upper_bound(some value) to get a greater value then why didnt we use upper_bound in the earlier case if we wanted a greater value and why using somevalue+1

@PoojaSingh22,
They can be used alternatively, you can use any one you prefer.