Problem 2355 · Hard

Maximum Number of Books You Can Take

Take the most books from a contiguous shelf range while taking a strictly increasing positive count from left to right.

Open the interactive visualisation