how to reverse vector using constructor c++ code example
Example: c++ reverse part of vector
//Reverse vector partially (from index x to index y)
reverse(v.begin()+x, v.begin()+y+1);
//Reverse vector partially (from index x to index y)
reverse(v.begin()+x, v.begin()+y+1);