Rosetta Problems
← leetcode に戻る
Semi-Ordered Permutation
https://leetcode.com/problems/semi-ordered-permutation