摘要:
1.题目Given a tree, you are supposed to tell if it is a complete binary tree.Input Specification:Each input ... 阅读全文
摘要:
1.题目Formation is very important when taking a group photo. Given the rules of forming K rows with N people... 阅读全文
摘要:
1.题目The basic task is simple: given N real numbers, you are supposed to calculate their average. But what ... 阅读全文
摘要:
1.题目This time, you are supposed to help us collect the data for family-owned property. Given each person's... 阅读全文
摘要:
1.题目A Binary Search Tree (BST) is recursively defined as a binary tree which has the following properties:... 阅读全文