Problems > The Longest Plateau > Editorial

The Longest Plateau — Solution & Editorial

Back to the Problem

Run-length scan.

Complexity: O(N)