Rosetta Problems

Minimum Right Shifts to Sort the Array

https://leetcode.com/problems/minimum-right-shifts-to-sort-the-array