A minimum sorting

Problem Name:
A minimum sorting
Site:HackerEarth
Links:
Tags:
Problem setters: