Rosetta Problems

Global and Local Inversions

https://leetcode.com/problems/global-and-local-inversions