摘要: PAT (Advanced Level) Practice 1151 LCA in a Binary Tree (30 分) 凌宸1642 题目描述: The lowest common ancestor (LCA) of two nodes U and V in a tree is the dee 阅读全文
posted @ 2021-08-20 01:59 凌宸1642 阅读(72) 评论(0) 推荐(0)
摘要: PAT (Advanced Level) Practice 1147 Heaps (30 分) 凌宸1642 题目描述: In computer science, a heap is a specialized tree-based data structure that satisfies the 阅读全文
posted @ 2021-08-20 01:57 凌宸1642 阅读(47) 评论(0) 推荐(0)
摘要: PAT (Advanced Level) Practice 1146 Topological Order (25 分) 凌宸1642 题目描述: This is a problem given in the Graduate Entrance Exam in 2018: Which of the f 阅读全文
posted @ 2021-08-20 01:52 凌宸1642 阅读(65) 评论(0) 推荐(0)
摘要: PAT (Advanced Level) Practice 1145 Hashing - Average Search Time (25 分) 凌宸1642 题目描述: The task of this problem is simple: insert a sequence of distinct 阅读全文
posted @ 2021-08-20 01:50 凌宸1642 阅读(62) 评论(0) 推荐(0)