Quiz doubts in 1,4,5,10

In 1, i didnot get how the result came 20.

In 4, did we the result because by default compare(int a,int b)
returns a<b.

In 5, can we say that in compare function the true return value indicates that always the array should be in ascending order.

In 10, does it wrap around after all the permutations are over.

Hi @ysurange1998 please share the questions that you are referring to.

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.