Minimum Value to Get Positive Step by Step Sum
Find the smallest positive starting value so that the running sum never drops below one. The visual plots the prefix sums and lifts the start to clear the lowest point.
Find the smallest positive starting value so that the running sum never drops below one. The visual plots the prefix sums and lifts the start to clear the lowest point.