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.