https://leetcode.com/problems/earliest-possible-day-of-full-bloom/solutions/2582720/earliest-possible-day-of-full-bloom/
Nice proof why solution works