Maximum Value at a Given Index in a Bounded Array

mediumSolve on LeetCodeLast edited: August 2, 2025