Count Number of Distinct Integers After Reverse Operations

mediumSolve on LeetCode
Last edited: July 26, 2025