Remove the middle element of a vector?
Example:
[1,2,3] should return 2
[1,2,3,4] should return 2
[] should return empty vector
Remove or return ?
keep it or remove it? confused example.
Determine whether a vector is monotonically increasing
9253 Solvers
7264 Solvers
3651 Solvers
367 Solvers
271 Solvers