Consider an array ‘A’ of n distinct elements where value of elements lies from 1 to n. Array ‘A’ contains permutation of n elements. If we apply an operation which of the following is correct?
(Assume both array of same size)
(a) Array ‘B’ will be sorted array.
(b) A sorted permutation of array ‘A’ need not to give sorted array ‘B’.
(c) Array ‘B’ is a permutation of array ‘A’
(d) Doing the same permutation twice will not give the same array i.e.,
How can solve it ?
Please help