Minimum Number of Operations to Reinitialize a Permutation

Minimum Number of Operations to Reinitialize a Permutation - Coding Problem | K5kC