Description : It reverses the order of the elements in the range [first, last) of any container.
Example :
int main() {
int i;
std::vector<int> v1{1,2,3,4};
std::reverse(v1.begin(),v1.end());
for (auto value : v1) {
std::cout << value << " ";
}
return 0;
}