Smallest Missing Integer Greater Than Sequential Prefix Sum
Sum the longest prefix whose values rise by one each step, then find the smallest missing integer at or above that sum.
Sum the longest prefix whose values rise by one each step, then find the smallest missing integer at or above that sum.