随笔分类 -  BFS

摘要:PAT (Advanced Level) Practice 1127 ZigZagging on a Tree (30 分) 凌宸1642 题目描述: Suppose that all the keys in a binary tree are distinct positive integers. 阅读全文
posted @ 2021-08-15 14:00 凌宸1642 阅读(56) 评论(0) 推荐(0)
摘要:PAT (Advanced Level) Practice 1115 Counting Nodes in a BST (30 分) 凌宸1642 题目描述: A Binary Search Tree (BST) is recursively defined as a binary tree whic 阅读全文
posted @ 2021-08-13 20:28 凌宸1642 阅读(44) 评论(0) 推荐(0)
摘要:PAT (Advanced Level) Practice 1106 Lowest Price in Supply Chain (25 分) 凌宸1642 题目描述: A supply chain is a network of retailers(零售商), distributors(经销商), 阅读全文
posted @ 2021-08-12 23:52 凌宸1642 阅读(49) 评论(0) 推荐(0)
摘要:PAT (Advanced Level) Practice 1102 Invert a Binary Tree (25 分) 凌宸1642 题目描述: The following is from Max Howell @twitter: Google: 90% of our engineers us 阅读全文
posted @ 2021-08-08 01:17 凌宸1642 阅读(44) 评论(0) 推荐(0)
摘要:PAT (Advanced Level) Practice 1090 Highest Price in Supply Chain (25 分) 凌宸1642 题目描述: A supply chain is a network of retailers(零售商), distributors(经销商), 阅读全文
posted @ 2021-08-07 22:52 凌宸1642 阅读(44) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2021-08-06 19:11 凌宸1642 阅读(41) 评论(0) 推荐(0)