()
| 1 | class MyCalendar { |
| 2 | TreeMap<Integer,Integer> map; |
| 3 | public MyCalendar() { |
| 4 | map = new TreeMap<>(); |
| 5 | } |
| 6 | |
| 7 | public boolean book(int start, int end) { |
| 8 | Integer prevVal = map.lowerKey(end); |
nothing calls this directly
no outgoing calls
no test coverage detected