Problem 2811 · Medium

Check if it is Possible to Split Array

Short arrays always split; otherwise one adjacent pair with a sum of at least m is enough to start the splits.

Open the interactive visualisation