Problem 3909 · Medium

Compare Sums of Bitonic Parts

Locate the shared peak, accumulate both inclusive sides, and compare their sums.

Open the interactive visualisation