Minimize Permutation Subarrays

Problem Name:
Minimize Permutation Subarrays
Site:CodeForces
Links:
Tags:
Problem setters: