Find the Maximum Number of Marked Indices

mediumSolve on LeetCodeLast edited: August 2, 2025