摘要:
PAT (Advanced Level) Practice 1059 Prime Factors (25 分) 凌宸1642 题目描述: Given any positive integer N, you are supposed to find all of its prime factors, 阅读全文
摘要:
PAT (Advanced Level) Practice 1087 All Roads Lead to Rome (30 分) 凌宸1642 题目描述: Indeed there are many different tourist routes from our city to Rome. Yo 阅读全文
摘要:
PAT (Advanced Level) Practice 1086 Tree Traversals Again (25 分) 凌宸1642 题目描述: An inorder binary tree traversal can be implemented in a non-recursive wa 阅读全文
摘要:
PAT (Advanced Level) Practice 1085 Perfect Sequence (25 分) 凌宸1642 题目描述: Given a sequence of positive integers and another positive integer p. The sequ 阅读全文
摘要:
PAT (Advanced Level) Practice 1083 List Grades (25 分) 凌宸1642 题目描述: Given a list of N student records with name, ID and grade. You are supposed to sort 阅读全文
摘要:
PAT (Advanced Level) Practice 1082 Read Number in Chinese (25 分) 凌宸1642 题目描述: Given an integer with no more than 9 digits, you are supposed to read it 阅读全文
摘要:
PAT (Advanced Level) Practice 1102 Invert a Binary Tree (25 分) 凌宸1642 题目描述: The following is from Max Howell @twitter: Google: 90% of our engineers us 阅读全文
摘要:
PAT (Advanced Level) Practice 1037 Magic Coupon (25 分) 凌宸1642 题目描述: The magic shop in Mars is offering some magic coupons. Each coupon has an integer 阅读全文
摘要:
PAT (Advanced Level) Practice 1090 Highest Price in Supply Chain (25 分) 凌宸1642 题目描述: A supply chain is a network of retailers(零售商), distributors(经销商), 阅读全文
摘要:
PAT (Advanced Level) Practice 1099 Build A Binary Search Tree (30 分) 凌宸1642 题目描述: A Binary Search Tree (BST) is recursively defined as a binary tree w 阅读全文