摘要: 1.Practice makes perfect.熟能生巧。 2.God helps those who help themselves.天助自助者 3.Easier said than done.说起来容易做起来难。 4.Where there is a will,there is a way.有 阅读全文
posted @ 2020-02-09 00:38 一斜星辰酱 阅读(9384) 评论(0) 推荐(1) 编辑
摘要: There are currently 168 internationally recognized unique national currencies in this world. But let us assume that we have business with other specie 阅读全文
posted @ 2020-02-09 00:33 一斜星辰酱 阅读(197) 评论(0) 推荐(0) 编辑
摘要: Werewolf(狼人杀) is a game in which the players are partitioned into two parties: the werewolves and the human beings. Suppose that in a game, player #1 阅读全文
posted @ 2020-02-09 00:31 一斜星辰酱 阅读(436) 评论(0) 推荐(0) 编辑
摘要: Given a string which contains only lower case English letters, how many different strings you can get after deleting AT MOST TWO characters in it? Inp 阅读全文
posted @ 2020-02-09 00:29 一斜星辰酱 阅读(220) 评论(0) 推荐(0) 编辑
摘要: Given a positive integer N, let us define a subnumber of N as a consecutive number of digits NOT starting with 0. For example if 0, it has 7 subnumber 阅读全文
posted @ 2020-02-09 00:28 一斜星辰酱 阅读(217) 评论(0) 推荐(0) 编辑
摘要: Given any weighted undirected graph, there exists at least one minimum spanning tree (MST) if the graph is connected. Sometimes the MST may not be uni 阅读全文
posted @ 2020-02-09 00:25 一斜星辰酱 阅读(726) 评论(0) 推荐(0) 编辑
摘要: Image segmentation is usually formulated as a graph partition problem, where each segment corresponds to a connected component. Moreover, each pixel i 阅读全文
posted @ 2020-02-09 00:21 一斜星辰酱 阅读(216) 评论(0) 推荐(0) 编辑
摘要: When a rectangle is cut by a straight line, we can easily obtain two polygons as the result. But the reversed problem is harder: given two polygons, y 阅读全文
posted @ 2020-02-09 00:19 一斜星辰酱 阅读(154) 评论(0) 推荐(0) 编辑
摘要: Given a map of airline routes, you are supposed to check if a round trip can be planned between any pair of cities. Input Specification: Each input fi 阅读全文
posted @ 2020-02-09 00:16 一斜星辰酱 阅读(231) 评论(0) 推荐(0) 编辑
摘要: Given the partial results of a binary tree's traversals in in-order, pre-order, and post-order. You are supposed to output the complete results and th 阅读全文
posted @ 2020-02-09 00:15 一斜星辰酱 阅读(480) 评论(0) 推荐(0) 编辑