摘要: 1029. Median (25)Given an increasing sequence S of N integers, themedianis the number at the middle position. For example, the median of S1={11, 12, 1... 阅读全文
posted @ 2015-08-07 23:47 JackWang822 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 1028. List Sorting (25)Excel can sort records according to any column. Now you are supposed to imitate this function.InputEach input file contains one... 阅读全文
posted @ 2015-08-07 21:22 JackWang822 阅读(219) 评论(0) 推荐(0) 编辑
摘要: 1025. PAT Ranking (25)Programming Ability Test (PAT) is organized by the College of Computer Science and Technology of Zhejiang University. Each test ... 阅读全文
posted @ 2015-08-07 13:14 JackWang822 阅读(155) 评论(0) 推荐(0) 编辑
摘要: 1024. Palindromic Number (25)A number that will be the same when it is written forwards or backwards is known as a Palindromic Number. For example, 12... 阅读全文
posted @ 2015-08-07 11:23 JackWang822 阅读(168) 评论(0) 推荐(0) 编辑
摘要: 1020. Tree Traversals (25)Suppose that all the keys in a binary tree are distinct positive integers. Given the postorder and inorder traversal sequenc... 阅读全文
posted @ 2015-08-07 00:19 JackWang822 阅读(188) 评论(0) 推荐(0) 编辑