pls explain how is it taking next permutation
In ques 5 of algostl quiz
Hey @sneha23 in q5, in compare function, true value indicates that the condition should be used for sorting the elements, ie all the pairs of the container should follow that condition, similarly if it were false then all the pairs should NOT follow that condition.
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.