Sobes.tech
Junior — Senior

Implement sorting of a vector in ascending order

livecode

Task condition

Sort an array of integers represented as std::vector<int> in ascending order using the standard sorting algorithm.

void sortMe(std::vector<int> data) {
    std::sort(data.begin(), data.end());
}