Problem 2519 · Hard

Count the Number of K-Big Indices

For each index, count strictly smaller values on the left and on the right; keep indices where both counts reach k.

Open the interactive visualisation