Leetcode 1802. Maximum Value at a Given Index in a Bounded Array | Hello Interview