Problem 1988. Remove the middle element from a vector

Created by John in Community

Remove the middle element of a vector?


[1,2,3] should return 2

[1,2,3,4] should return 2

[] should return empty vector

Solution Stats

48.33% Correct | 51.67% Incorrect
Last solution submitted on Dec 18, 2018

Problem Comments

Recent Solvers54

Suggested Problems