Module monotone_crescendo::solution[][src]

Expand description

Functions

Essentially the same solution as monotone_crescendo_prefix_sums except without the redundant leading zero in the prefix sum array

This is an ingenious solution which was contributed by LeetCode user tarunbisht and translated to Rust by me