PAT 目录

浙江大学 PAT 甲级考试题集

By 滚键盘(iofu728)

github 地址:https://github.com/iofu728/PAT-A-by-iofu728

IdTitleSolutionTypeHard
1022库洛值(20)🤔hashMap
1023缺失数(25)🤔bitMap☆☆☆
1024宇宙树(25)🤔DFS★★★☆
1025已经没什么好害怕了(30)🤔Dijkstra未知
IdTitleSolutionTypeHard
1001A+B Format (20)✔️字符串处理
1002A+B for Polynomials (25)✔️多项式
1003Emergency (25)✔️Dijkstra☆☆☆
1004Counting Leaves (30)✔️BFS、DFS☆☆☆
1005Spell It Right (20)✔️字符串处理☆☆
1006Sign In and Sign Out (25)✔️sort
1007Maximum Subsequence Sum (25)✔️dp☆★
1008Elevator (20)✔️模拟☆☆
1009Product of Polynomials (25)✔️多项式☆☆
1010Radix (25)✔️进制转换☆★
1011World Cup Betting (20)✔️模拟☆☆
1012The Best Rank (25)✔️sort☆☆
1013Battle Over Cities (25)✔️DFS,连通分量☆☆☆
1014Waiting in Line (30)🤔排队模拟,queue,sort★★★★
1015Reversible Primes (20)✔️素数,进制转换
1016Phone Bills (25)✔️sort☆☆
1017Queueing at Bank (25)🤔排队,模拟,sort☆☆☆
1018Public Bike Management (30)🤔Dijkstra,DFS★★★★
1019General Palindromic Number (20)✔️进制转换,回文
1020Tree Traversals (25)✔️树的遍历☆☆
1021Deepest Root (25)🤔无环判断,树深度,最深源点★★★☆
1022Digital Library (30)🤔map,set☆☆☆
1023Have Fun with Numbers (20)✔️大整数,前置 0☆★★
1024Palindromic Number (25)✔️大整数,回文
1025PAT Ranking (25)✔️sort
1026Table Tennis (30)✔️排队,模拟,sort★★★★☆
1027Colors in Mars (20)✔️进制转换
1028List Sorting (25)✔️sort
1029Median (25)✔️中间数☆☆
1030Travel Plan (30)✔️Dijkstra☆★
1031Hello World for U (20)✔️图形
1032Sharing (25)✔️链表
1033To Fill or Not to Fill (25)🤔贪心,模拟★★★★
1034Head of a Gang (30)🤔DFS,map☆☆☆
1035Password (20)✔️字符串
1036Boys vs Girls (25)✔️sort
1037Magic Coupon (25)✔️sort
1038Recover the Smallest Number (30)✔️sort,字符串相加☆★
1039Course List for Student (25)✔️手动 map☆★
1040Longest Symmetric String (25)🤔动态规划☆☆☆
1041Be Unique (20)✔️hash
1042Shuffling Machine (20)✔️模拟
1043Is It a Binary Search Tree (25)✔️树的遍历☆★
1044Shopping in Mars (25)🤔dp,查找☆☆☆
1045Favorite Color Stripe (30)✔️dp,最长不下降序列☆☆☆
1046Shortest Distance (20)✔️模拟
1047Student List for Course (25)✔️hash
1048Find Coins (25)✔️二分查找☆★
1049Counting Ones (30)🤔数学问题,递归☆☆★
1050String Subtraction (20)✔️hash
1051Pop Sequence (25)✔️栈模拟☆☆
1052Linked List Sorting (25)✔️链表排序
1053Path of Equal Weight (30)✔️树的遍历☆☆☆
1054The Dominant Color (20)✔️map
1055The World’s Richest (25)✔️sort
1056Mice and Rice (25)🤔模拟,晋级☆☆★
1057Stack (30)🤔二分查找,二维哈希,栈模拟★★★☆
1058A+B in Hogwarts (20)✔️加法
1059Prime Factors (25)✔️质数☆★
1060Are They Equal (25)✔️科学计数法☆☆☆
1061Dating (20)✔️字符串对比
1062Talent and Virtue (25)✔️sort
1063Set Similarity (25)✔️set
1064Complete Binary Search Tree (30)✔️BST,遍历☆☆☆
1065A+B and C (64bit) (20)✔️数运算溢出
1066Root of AVL Tree (25)🤔AVL,建树☆☆☆
1067Sort with Swap(0,*) (25)✔️排序☆☆
1068Find More Coins (30)🤔01 背包,动态规划★★★★
1069The Black Hole of Numbers (20)✔️string.insert
1070Mooncake (25)✔️sort
1071Speech Patterns (25)✔️map
1072Gas Station (30)🤔Dijkstra☆☆☆
1073Scientific Notation (20)✔️字符串转数字☆☆
1074Reversing Linked List (25)✔️链表翻转☆☆
1075PAT Judge (25)🤔sort☆☆☆
1076Forwards on Weibo (30)🤔BFS☆☆☆
1077Kuchiguse (20)✔️字符串
1078Hashing (25)✔️散列,平方☆☆
1079Total Sales of Supply Chain (25)🤔BFS/DFS☆☆☆
1080Graduate Admission (30)🤔sort☆☆★
1081Rational Sum (20)✔️gcd
1082Read Number in Chinese (25)🤔字符串★★☆
1083List Grades (25)✔️sort☆☆
1084Broken Keyboard (20)✔️hash
1085Perfect Sequence (25)✔️two pointer☆★
1086Tree Traversals Again (25)🤔二叉树遍历☆☆★
1087All Roads Lead to Rome (30)🤔Dijkstra DFS★★☆☆
1088Rational Arithmetic (20)✔️
1089Insert or Merge (25)✔️
1090Highest Price in Supply Chain (25)✔️
1091Acute Stroke (30)✔️
1092To Buy or Not to Buy (20)✔️
1093Count PAT’s (25)✔️
1094The Largest Generation (25)✔️
1095Cars on Campus (30)✔️
1096Consecutive Factors (20)✔️
1097Deduplication on a Linked List (25)✔️
1098Insertion or Heap Sort (25)✔️
1099Build A Binary Search Tree (30)✔️
1100Mars Numbers (20)✔️
1101Quick Sort (25)✔️
1102Invert a Binary Tree (25)✔️
1103Integer Factorization (30)✔️
1104Sum of Number Segments (20)✔️
1105Spiral Matrix (25)✔️
1106Lowest Price in Supply Chain (25)✔️BFS 剪枝☆★
1107Social Clusters (30)🤔合并 并查集☆☆★
1108Finding Average (20)✖️
1109Group Photo (25)✖️
1110Complete Binary Tree (25)✖️
1111Online Map (30)✖️
1112Stucked Keyboard (20)✖️
1113Integer Set Partition (25)✖️
1114Family Property (25)✖️
1115Counting Nodes in a BST (30)✖️
1116Come on! Let’s C (20)✖️
1117Eddington Number(25)✖️
1118Birds in Forest (25)✖️
1119Pre- and Post-order Traversals (30)✖️
1120Friend Numbers (20)✖️
1121Damn Single (25)✖️
1122Hamiltonian Cycle (25)✖️
1123Is It a Complete AVL Tree (30)✖️
1124Raffle for Weibo Followers (20)✖️
1125Chain the Ropes (25)✖️
1126Eulerian Path (25)✖️
1127ZigZagging on a Tree (30)✖️
1128N Queens Puzzle (20)✔️
1129Recommendation System (25)✔️
1130Infix Expression (25)✖️
1131Subway Map (30)✖️
1132Cut Integer (20)✖️
1133Splitting A Linked List (25)✔️
1134Vertex Cover (25)✔️
1135Is It A Red-Black Tree (30)✔️
1136A Delayed Palindrome (20)✖️
1137Final Grading (25)✖️
1138Postorder Traversal (25)✖️
1139First Contact (30)✔️
1140Look-and-say Sequence(20)✖️
1141PAT Ranking of Institutions(25)✖️
1142Maximal Clique (25)✖️
1143Lowest Common Ancestor(30)✖️
1144The Missing Number(20)✖️
1145Hashing - Average Search Time(25)✖️
1146Topological Order(25)✖️
1147Heaps(30)✖️
1148Werewolf - Simple Version(20)✖️
1149Dangerous Goods Packaging(25)✖️
1150Travelling Salesman Problem(25)✖️
1151LCA in a Binary Tree(30)✖️
You can use this BibTex to reference this blog if you find it useful and want to quote it.