摘要: 题目地址 "Let's C" is a popular and fun programming contest hosted by the College of Computer Science and Technology, Zhejiang Univ... 阅读全文
posted @ 2019-12-25 22:42 vincent's_blog 阅读(16) 评论(0) 推荐(0)
摘要: 题目地址 A Binary Search Tree (BST) is recursively defined as a binary tree which has the following properties: The left subtree of... 阅读全文
posted @ 2019-12-25 22:42 vincent's_blog 阅读(27) 评论(0) 推荐(0)
摘要: 题目地址 British astronomer Eddington liked to ride a bike. It is said that in order to show off his skill, he has even defined an ... 阅读全文
posted @ 2019-12-25 22:41 vincent's_blog 阅读(18) 评论(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:40 vincent's_blog 阅读(38) 评论(0) 推荐(0)
摘要: 题目地址 Some scientists took pictures of thousands of birds in a forest. Assume that all the birds appear in the same picture belo... 阅读全文
posted @ 2019-12-25 22:40 vincent's_blog 阅读(31) 评论(0) 推荐(0)
摘要: 题目地址 Two integers are called "friend numbers" if they share the same sum of their digits, and the sum is their "friend ID". For... 阅读全文
posted @ 2019-12-25 22:39 vincent's_blog 阅读(22) 评论(0) 推荐(0)
摘要: 题目地址 "Damn Single (单身狗)" is the Chinese nickname for someone who is being single. You are supposed to find those who are alone ... 阅读全文
posted @ 2019-12-25 22:38 vincent's_blog 阅读(33) 评论(0) 推荐(0)
摘要: 题目地址 The "Hamilton cycle problem" is to find a simple cycle that contains every vertex in a graph. Such a cycle is called a "Ha... 阅读全文
posted @ 2019-12-25 22:37 vincent's_blog 阅读(48) 评论(0) 推荐(0)
摘要: 题目地址An AVL tree is a self-balancing binary search tree. In an AVL tree, the heights of the two child subtrees of any node diff... 阅读全文
posted @ 2019-12-25 22:36 vincent's_blog 阅读(37) 评论(0) 推荐(0)
摘要: 题目地址 John got a full mark on PAT. He was so happy that he decided to hold a raffle(抽奖) for his followers on Weibo -- that is, he... 阅读全文
posted @ 2019-12-25 22:34 vincent's_blog 阅读(29) 评论(0) 推荐(0)