05.04 · Problem
Earliest Day for the Bouquets
This problem is part of solulu Pro
A garden has flowers in a row; flower i blooms on day bloom[i]. A bouquet needs k adjacent bloomed flowers and each flower can be used in only one bouquet. What is the earliest day on which you can make m bouquets?…
Lifetime ₹2,000 ₹1,000 · Beta offer
Item 54 of 94 · updated 2026-10-12