1. 程式人生 > >PAT甲級目錄

PAT甲級目錄

idt avl logs com 整數 blank number pri title

備註
1004 Counting Leaves
1020 Tree Traversals
1043 Is It a Binary Search Tree 判斷BST,BST的性質
1053 Path of Equal Weight
1064 Complete Binary Search Tree 完全二叉樹的順序存儲,BST的性質
1066 Root of AVL Tree 構建AVL樹,模板題,需理解記憶
1079 Total Sales of Supply Chain
1086 Tree Traversals Again
1090 Highest Price in Supply Chain
1094 The Largest Generation
1099 Build A Binary Search Tree 與1064類似,BST的性質
1102 Invert a Binary Tree
1106 Lowest Price in Supply Chain
1110 Complete Binary Tree 判斷給定的樹是否為完全二叉樹
1115 Counting Nodes in a BST
1119 Pre- and Post-order Traversals 由前序序列和後序序列構建二叉樹(***)
1123 Is It a Complete AVL Tree AVL和CBT,結合了1066和1110
1127 ZigZagging on a Tree
1130 Infix Expression
1135 Is It A Red-Black Tree 深刻理解紅黑樹的性質,dfs(***)
1143 Lowest Common Ancestor 求BST的LCA,求普通BiTree的LCA呢?(***)
1147 Heaps 堆的性質,完全二叉樹的順序存儲(***)
數學問題
1023 Have Fun with Numbers 大整數乘法
1024 Palindromic Number 大整數加法,判斷回文數
1136 A Delayed Palindrome 大整數加法,判斷回文數(和1024一模一樣!)
1065 A+B and C (64bit) long long int判斷溢出,邊界條件
1104 Sum of Number Segments 找規律,細節
1088 Rational Arithmetic 分數的四則遠算,模板
1059 Prime Factors 獲取素數,質因子分解(***)

1136 A Delayed Palindrome

PAT甲級目錄