reversing the vector of integer in c++' code example
Example 1: how to reverse a vector
//vector<int> A;
reverse(A.begin(),A.end());
Example 2: reverse in vector c++
reverse(start_index, last_index);
//vector<int> A;
reverse(A.begin(),A.end());
reverse(start_index, last_index);