Sorted Permutation Rank Leetcode Problems