Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
โK
Get Premium
Leetcode 2251. Number of Flowers in Full Bloom
Given a list of closed time intervals for when each flower is in full bloom and query times for people arriving, return for each person how many intervals contain that time. With up to 5ยท10^4 intervals and large time values, this requires an efficient approach (e.g., sorting + binary search or sweep-line) rather than naive per-query scans.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.