Problem 1793 · Hard
Maximize minimum-value times length over subarrays containing index k.
Open the interactive visualisation