摘要: 332. Reconstruct Itinerary Given a list of airline tickets represented by pairs of departure and arrival airports [from, to], reconstruct the itinerar 阅读全文
posted @ 2016-03-07 05:42 新一代的天皇巨星 阅读(353) 评论(0) 推荐(0)
摘要: 380. Insert Delete GetRandom O(1) Design a data structure that supports all following operations in average O(1) time. insert(val): Inserts an item va 阅读全文
posted @ 2016-03-07 05:11 新一代的天皇巨星 阅读(430) 评论(0) 推荐(0)