PAT(A) 1121. Damn Single (25)

原题目:

原题链接:https://www.patest.cn/contests/pat-a-practise/1121

1121. Damn Single (25)


"Damn Single (单身狗)" is the Chinese nickname for someone who is

PAT(A) 1120. Friend Numbers (20)

原题目:

原题链接:https://www.patest.cn/contests/pat-a-practise/1120

1120. Friend Numbers (20)


Two integers are called "friend numbers" if they share the same sum of their

PAT(A) 1119. Pre- and Post-order Traversals (30)

原题目:

原题链接:https://www.patest.cn/contests/pat-a-practise/1119

1119. Pre- and Post-order Traversals (30)


Suppose that all the keys in a binary tree are distinct positive

PAT(A) 1118. Birds in Forest (25)

原题目:

原题链接:https://www.patest.cn/contests/pat-a-practise/1118

1118. Birds in Forest (25)


Some scientists took pictures of thousands of birds in a forest. Assume

PAT(A) 1117. Eddington Number(25)

原题目:

原题链接:https://www.patest.cn/contests/pat-a-practise/1117

1117. Eddington Number(25)


"British astronomer Eddington liked to ride a bike. It is said that in order

PAT(A) 1116. Come on! Let's C (20)

原题目:

原题链接:https://www.patest.cn/contests/pat-a-practise/1116

1116. Come on! Let's C (20)


"Let's C" is a popular and fun programming contest hosted by the College

PAT(A) 1111. Online Map (30)

原题目:

原题链接:https://www.patest.cn/contests/pat-a-practise/1111

1111. Online Map (30)


Input our current position and a destination, an online map can recommend

PAT(A) 1110. Complete Binary Tree (25)

原题目:

原题链接:https://www.patest.cn/contests/pat-a-practise/1110

1110. Complete Binary Tree (25)


Given a tree, you are supposed to tell if it is a complete binary tree.

PAT(A) 1109. Group Photo (25)

原题目:

原题链接:https://www.patest.cn/contests/pat-a-practise/1109

1109. Group Photo (25)


Formation is very important when taking a group photo. Given the rules of

PAT(A) 1064. Complete Binary Search Tree (30)

原题目:

原题链接:https://www.patest.cn/contests/pat-a-practise/1064

1064. Complete Binary Search Tree (30)


A Binary Search Tree (BST) is recursively defined as a binary tree