Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 1482. Minimum Number of Days to Make m Bouquets
Find the minimum day such that you can form at least m bouquets, each requiring k adjacent flowers that have bloomed (return -1 if impossible, e.g., when m*k > n). This is typically solved by binary searching the day and greedily scanning for k-length contiguous bloomed segments to check feasibility.
Asked at:
Amazon
Meta
Apple
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Mid February, 2025
Meta
Senior
Early February, 2025
Apple
Senior
Mid January, 2025
Amazon
Senior
Minimum number of days to make m bouquets
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.