码迷,mamicode.com
首页 > 其他好文 > 详细

391. Number of Airplanes in the Sky

时间:2019-01-20 11:47:40      阅读:190      评论:0      收藏:0      [点我收藏+]

标签:which   man   ret   The   fir   lis   ber   ide   Plan   

391. Number of Airplanes in the Sky
Given an interval list which are flying and landing time of the flight. How many airplanes are on the sky at most?

Example
For interval list

[
  (1,10),
  (2,3),
  (5,8),
  (4,7)
]
Return 3

Notice
If landing and flying happens at the same time, we consider landing should happen at first.

```

391. Number of Airplanes in the Sky

标签:which   man   ret   The   fir   lis   ber   ide   Plan   

原文地址:https://www.cnblogs.com/lawrenceSeattle/p/10294086.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!