摘要: 1101 Quick Sort (25分) There is a classical process named partition in the famous quick sort algorithm. In this process we typicall... 阅读全文
posted @ 2020-04-11 19:30 Hu_YaYa 阅读(21) 评论(0) 推荐(0)
摘要: 1093 Count PAT's (25分) The string APPAPT contains two PAT's as substrings. The first one is formed by the 2nd, the 4th, and the 6t... 阅读全文
posted @ 2020-04-11 17:41 Hu_YaYa 阅读(1) 评论(0) 推荐(0)
摘要: 1029 Median (25分) Given an increasing sequence S of N integers, the median is the number at the middle position. For example, the ... 阅读全文
posted @ 2020-04-11 16:25 Hu_YaYa 阅读(22) 评论(0) 推荐(0)