Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve the implementation of a merge Interval. Tested with ```go ... func main() { rooms := minMeetingRooms([]Interval{ Interval{ start: 0, end: 5, }, Interval{ start: 4, end: 7, }, Interval{ start: 2, end: 10, }, Interval{ start: 4, end: 3, }, Interval{ start: 9, end: 19, }, Interval{ start: 3, end: 14, }, }) fmt.Println(rooms) } ``` and result : ```bash go run min-meeting-room.go 4 ```
- Loading branch information