My Calendar I at Bloomberg
Medium58.2% acceptance
This problem has 12.5% frequency at Bloomberg.
Problem Description
You are implementing a program to use as your calendar. We can add a new event if adding the event will not cause a **double booking**. A **double booking** happens when two events have some non-empty intersection (i.e., some moment is common to both events.). The event can be represented as a pai...
Read full problem and hintsTopics
Also asked at 9 companies
More Bloomberg Questions
Two SumEasyMerge IntervalsMediumBest Time to Buy and Sell StockEasyNumber of IslandsMediumInsert Delete GetRandom O(1)Medium
View all Bloomberg questions