Intern — Middle
Simplified way to remove an element by index from std::vector
livecode
Task condition
You need to implement a simple and straightforward method to remove an element from a vector by a given index.
std::vector<Element> items;
// remove the element at index 4