can we we use reverse( ) function from STL to reverse the order of a sorted 1-D array?
Sorting an array
Yes , but you should know the intution behind that function.
please elaborate a bit.
I mean you know what and how the function is working.
In case of reverse , you should know how the reversing of elements take place.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.