I need to find elements of a vector that are less than one of more elements that come after it. It's easy to do in a loop:I need to find elements of a vector that are le
I need to find elements of a vector that are less than one of more elements that come after it. It's easy to do in a loop:I need to find elements of a vector that are le