摘要: 题目地址Given some segments of rope, you are supposed to chain them into one rope. Each time you may only fold two segments into lo... 阅读全文
posted @ 2019-12-25 22:33 vincent's_blog 阅读(20) 评论(0) 推荐(0)
摘要: 题目地址In graph theory, an Eulerian path is a path in a graph which visits every edge exactly once. Similarly, an Eulerian circui... 阅读全文
posted @ 2019-12-25 22:33 vincent's_blog 阅读(27) 评论(0) 推荐(0)
摘要: 题目地址 Suppose that all the keys in a binary tree are distinct positive integers. A unique binary tree can be determined by a giv... 阅读全文
posted @ 2019-12-25 22:32 vincent's_blog 阅读(35) 评论(0) 推荐(0)
摘要: 题目地址 The "eight queens puzzle" is the problem of placing eight chess queens on an 8×8 chessboard so that no two queens threaten... 阅读全文
posted @ 2019-12-25 22:31 vincent's_blog 阅读(33) 评论(0) 推荐(0)
摘要: 题目地址 Recommendation system predicts the preference that a user would give to an item. Now you are asked to program a very simpl... 阅读全文
posted @ 2019-12-25 22:30 vincent's_blog 阅读(24) 评论(0) 推荐(0)
摘要: 题目地址 Given a syntax tree (binary), you are supposed to output the corresponding infix expression, with parentheses reflecting t... 阅读全文
posted @ 2019-12-25 22:29 vincent's_blog 阅读(25) 评论(0) 推荐(0)
摘要: 题目地址 In the big cities, the subway systems always look so complex to the visitors. To give you some sense, the following figure... 阅读全文
posted @ 2019-12-25 22:28 vincent's_blog 阅读(32) 评论(0) 推荐(0)
摘要: 题目地址Given a singly linked list, you are supposed to rearrange its elements so that all the negative values appear before all o... 阅读全文
posted @ 2019-12-25 22:26 vincent's_blog 阅读(25) 评论(0) 推荐(0)
摘要: 题目地址Cutting an integer means to cut a K digits lone integer Z into two integers of (K/2) digits long integers A and B. For exa... 阅读全文
posted @ 2019-12-25 22:26 vincent's_blog 阅读(24) 评论(0) 推荐(0)
摘要: 题目地址 A vertex cover of a graph is a set of vertices such that each edge of the graph is incident to at least one vertex of the ... 阅读全文
posted @ 2019-12-25 22:25 vincent's_blog 阅读(25) 评论(0) 推荐(0)