Count Number of Distinct Integers After Reverse Operations

mediumSolve on LeetCodeLast edited: July 26, 2025