Sobes.tech
Junior — Senior

Sorting a vector using STL algorithms

livecode

Task condition

Apply standard algorithms from the STL library to sort the elements of the vector.

std::vector<int> A = {1, -5, 4, 1, 10, 1, -33, 300};
// sort the vector