()
| 3 | List<int[]> bookings; |
| 4 | TreeMap<Integer,Integer> overlappedMap; |
| 5 | public MyCalendarTwo() { |
| 6 | bookings = new ArrayList<>(); |
| 7 | overlappedMap = new TreeMap<>(); |
| 8 | } |
| 9 | |
| 10 | public boolean book(int start, int end) { |
| 11 | //if event is present in overlapped then return false |
nothing calls this directly
no outgoing calls
no test coverage detected