上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 87 下一页
摘要: https://leetcode.com/problems/hand-of-straights/ Alice has a hand of cards, given as an array of integers. Now she wants to rearrange the cards into g 阅读全文
posted @ 2018-12-22 13:21 丧心病狂工科女 阅读(172) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal/ Given preorder and inorder traversal of a tree, construct the 阅读全文
posted @ 2018-12-22 11:47 丧心病狂工科女 阅读(110) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/flatten-binary-tree-to-linked-list/ Given a binary tree, flatten it to a linked list in-place. For example, given the fo 阅读全文
posted @ 2018-12-22 10:39 丧心病狂工科女 阅读(95) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=2955 Problem Description The aspiring Roy the Robber has seen a lot of American movies, and knows that the b 阅读全文
posted @ 2018-12-21 18:52 丧心病狂工科女 阅读(146) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=2639 Problem Description The title of this problem is familiar,isn't it?yeah,if you had took part in the "Ro 阅读全文
posted @ 2018-12-21 16:39 丧心病狂工科女 阅读(154) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1114 Problem Description Before ACM can do anything, a budget must be prepared and the necessary financial s 阅读全文
posted @ 2018-12-21 15:41 丧心病狂工科女 阅读(136) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1059 Problem Description Marsha and Bill own a collection of marbles. They want to split the collection amon 阅读全文
posted @ 2018-12-21 14:18 丧心病狂工科女 阅读(157) 评论(0) 推荐(0) 编辑
摘要: http://poj.org/problem?id=3624 Description Bessie has gone to the mall's jewelry store and spies a charm bracelet. Of course, she'd like to fill it wi 阅读全文
posted @ 2018-12-20 14:51 丧心病狂工科女 阅读(124) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=2191 Problem Description 急!灾区的食物依然短缺!为了挽救灾区同胞的生命,心系灾区同胞的你准备自己采购一些粮食支援灾区,现在假设你一共有资金n元,而市场有m种大米,每种大米都是袋装产品,其价格 阅读全文
posted @ 2018-12-20 14:23 丧心病狂工科女 阅读(166) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/flip-equivalent-binary-trees/ For a binary tree T, we can define a flip operation as follows: choose any node, and swap 阅读全文
posted @ 2018-12-19 17:29 丧心病狂工科女 阅读(180) 评论(0) 推荐(0) 编辑
上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 87 下一页