摘要:        
PAT 准考证号由 4 部分组成: 第 1 位是级别,即 T 代表顶级;A 代表甲级;B 代表乙级; 第 2~4 位是考场编号,范围从 101 到 999; 第 5~10 位是考试日期,格式为年、月、日顺次各占 2 位; 最后 11~13 位是考生编号,范围从 000 到 999。 现给定一系列考生    阅读全文
posted @ 2019-10-02 17:23
SteveYu
阅读(247)
评论(0)
推荐(0)
        
            
        
        
摘要:        
A registration card number of PAT consists of 4 parts: the 1st letter represents the test level, namely, T for the top level, A for advance and B for     阅读全文
posted @ 2019-10-02 17:21
SteveYu
阅读(203)
评论(0)
推荐(0)
        
            
        
        
摘要:        
堆相关笔记 参考笔记:柳婼大佬的总结https://www.liuchuo.net/archives/2277 一、二次总结理由 关于二次总结是否有必要,我觉得是有的,参考学习别人的知识,内化的过程是一次总结的过程。每次参考同一个人的思维轨迹,确实能培养思维。该篇笔记整理理由:在PAT Advanc    阅读全文
posted @ 2019-10-02 16:06
SteveYu
阅读(645)
评论(0)
推荐(0)
        
            
        
        
摘要:        
In computer science, a heap is a specialized tree-based data structure that satisfies the heap property: if P is a parent node of C, then the key (the    阅读全文
posted @ 2019-10-02 14:12
SteveYu
阅读(126)
评论(0)
推荐(0)
        
            
        
        
摘要:        
A proper vertex coloring is a labeling of the graph's vertices with colors such that no two vertices sharing the same edge have the same color. A colo    阅读全文
posted @ 2019-10-02 04:44
SteveYu
阅读(121)
评论(0)
推荐(0)
        
            
        
        
摘要:        
In July 2004, Google posted on a giant billboard along Highway 101 in Silicon Valley (shown in the picture below) for recruitment. The content is supe    阅读全文
posted @ 2019-10-02 04:15
SteveYu
阅读(190)
评论(0)
推荐(0)
        
            
        
        
摘要:        
本题要求实现一个函数,将两个链表表示的递增整数序列合并为一个非递减的整数序列。 函数接口定义: 其中List结构定义如下: L1和L2是给定的带头结点的单链表,其结点存储的数据是递增有序的;函数Merge要将L1和L2合并为一个非递减的整数序列。应直接使用原序列中的结点,返回归并后的带头结点的链表头    阅读全文
posted @ 2019-10-02 01:12
SteveYu
阅读(856)
评论(0)
推荐(0)
        
            
        
        
摘要:        
本题要求实现二分查找算法。 函数接口定义: 其中List结构定义如下: L是用户传入的一个线性表,其中ElementType元素可以通过>、=、<进行比较,并且题目保证传入的数据是递增有序的。函数BinarySearch要查找X在Data中的位置,即数组下标(注意:元素从下标1开始存储)。找到则返回    阅读全文
posted @ 2019-10-02 00:23
SteveYu
阅读(1341)
评论(0)
推荐(0)
        

浙公网安备 33010602011771号