2016年6月18日

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? Notice If landing and flying happen 阅读全文

posted @ 2016-06-18 21:29 Sheryl Wang 阅读(261) 评论(0) 推荐(0) 编辑

Clone Graph

摘要: Clone an undirected graph. Each node in the graph contains a label and a list of its neighbors. OJ's undirected graph serialization: Nodes are labeled 阅读全文

posted @ 2016-06-18 20:21 Sheryl Wang 阅读(181) 评论(0) 推荐(0) 编辑

Implement Queue using Stacks

摘要: mplement the following operations of a queue using stacks. push(x) -- Push element x to the back of queue. pop() -- Removes the element from in front 阅读全文

posted @ 2016-06-18 11:23 Sheryl Wang 阅读(101) 评论(0) 推荐(0) 编辑

导航