Minimum Unlocked Indices to Sort Nums

mediumSolve on LeetCodeLast edited: July 26, 2025