上一页 1 ··· 7 8 9 10 11 12 13 下一页
摘要: Given a non-empty tree with root R, and with weight Wi assigned to each tree node Ti. The weight of a path from R to L is defined to be the sum of the 阅读全文
posted @ 2021-11-10 20:14 勇往直前的力量 阅读(45) 评论(0) 推荐(0)
摘要: Description Suppose that all the keys in a binary tree are distinct positive integers. Given the postorder and inorder traversal sequences, you are su 阅读全文
posted @ 2021-11-10 11:23 勇往直前的力量 阅读(56) 评论(0) 推荐(0)
摘要: Excel can sort records according to any column. Now you are supposed to imitate this function. Input Each input file contains one test case. For each 阅读全文
posted @ 2021-11-10 10:22 勇往直前的力量 阅读(37) 评论(0) 推荐(0)
摘要: People in Mars represent the colors in their computers in a similar way as the Earth people. That is, a color is represented by a 6-digit number, wher 阅读全文
posted @ 2021-11-09 20:43 勇往直前的力量 阅读(35) 评论(0) 推荐(0)
摘要: Programming Ability Test (PAT) is organized by the College of Computer Science and Technology of Zhejiang University. Each test is supposed to run sim 阅读全文
posted @ 2021-11-09 20:07 勇往直前的力量 阅读(142) 评论(0) 推荐(0)
摘要: A number that will be the same when it is written forwards or backwards is known as a Palindromic Number. For example, 1234321 is a palindromic number 阅读全文
posted @ 2021-11-09 15:34 勇往直前的力量 阅读(54) 评论(0) 推荐(0)
摘要: A Digital Library contains millions of books, stored according to their titles, authors, key words of their abstracts, publishers, and published years 阅读全文
posted @ 2021-11-09 10:35 勇往直前的力量 阅读(52) 评论(0) 推荐(0)
摘要: Notice that the number 123456789 is a 9-digit number consisting exactly the numbers from 1 to 9, with no duplication. Double it we will obtain 2469135 阅读全文
posted @ 2021-11-07 23:47 勇往直前的力量 阅读(70) 评论(0) 推荐(0)
摘要: A number that will be the same when it is written forwards or backwards is known as a Palindromic Number. For example, 1234321 is a palindromic number 阅读全文
posted @ 2021-11-07 21:56 勇往直前的力量 阅读(56) 评论(0) 推荐(0)
摘要: Suppose a bank has K windows open for service. There is a yellow line in front of the windows which devides the waiting area into two parts. All the c 阅读全文
posted @ 2021-11-06 23:38 勇往直前的力量 阅读(37) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 13 下一页