Sort Array by Moving Items to Empty Space

hardSolve on LeetCodeLast edited: August 2, 2025