Cody

Problem 1988. Remove the middle element from a vector

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

Solution Stats

48.41% Correct | 51.59% Incorrect
Last Solution submitted on Dec 31, 2019

Problem Comments