摘要: https://pintia.cn/problem-sets/994805342720868352/problems/994805427332562944 Given a stack which can keep M numbers at most. Push N numbers in the or 阅读全文
posted @ 2019-02-06 21:25 丧心病狂工科女 阅读(121) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/find-k-pairs-with-smallest-sums/ You are given two integer arrays nums1 and nums2 sorted in ascending order and an integ 阅读全文
posted @ 2019-02-06 11:17 丧心病狂工科女 阅读(127) 评论(0) 推荐(0) 编辑
摘要: https://pintia.cn/problem-sets/994805342720868352/problems/994805482919673856 A graph which is connected and acyclic can be considered a tree. The hig 阅读全文
posted @ 2019-02-06 02:01 丧心病狂工科女 阅读(121) 评论(0) 推荐(0) 编辑