Lintcode 1850 Pick Apples
https://www.lintcode.com/problem/1850 Since Alice and Bob are working on separate consecutive apple trees without overlap, I thought of using sliding window to solve this problem. We can iterate all the possible dividers in the array, and each iteration, we find the… Read More »Lintcode 1850 Pick Apples