发表评论取消回复
相关阅读
相关 PAT (Advanced Level) Practice 1139 First Contact (30分)
其实代码就不用看了,我写的很菜。主要是看思路,相信大家不会说一点思路没有,大体的代码都编的出来,但是可能漏掉了要点。 下面列举题干的坑: (1)题目中并没有说A和B是朋友
相关 PAT (Advanced Level) Practice 1086 Tree Traversals Again
根据操作写递归就行了,注意一点,data不是从1到n顺序来的,所以要自己去获取push后面的数字,不能简单的用计数器++。 include <iostream>
相关 【PAT (Advanced Level) Practice】1086 Tree Traversals Again (25 分)
众所周知只有前序遍历和后序遍历是不可能推出中序遍历的,所以我就不废话了 由树的前序遍历和中序遍历可以推后序遍历 由树的中序遍历和后序遍历可以推前序遍历 incl
相关 【PAT (Advanced Level) Practice】1147 Heaps (30 分)
1147 Heaps (30 分) In computer science, a heap is a specialized tree-based data structu
相关 【PAT (Advanced Level) Practice】PAT (Advanced Level) Practice
1006 Sign In and Sign Out (25 分) At the beginning of every day, the first person who s
相关 【PAT (Advanced Level) Practice】1001 A+B Format (20 分)
![在这里插入图片描述][20210701192057678.png_x-oss-process_image_type_ZmFuZ3poZW5naGVpdGk_shadow_1
相关 【PAT (Advanced Level) Practice】1099 Build A Binary Search Tree (30 分)
深搜+广搜 include <iostream> include <stack> include <queue> include <vecto
相关 1099. Build A Binary Search Tree (30)
A Binary Search Tree (BST) is recursively defined as a binary tree which has the followi
相关 PAT (Advanced Level) 1064 Complete Binary Search Tree
1064 Complete Binary Search Tree (30 分) A Binary Search Tree (BST) is recursively defin
相关 PAT (Advanced Level) Practice 1001 A+B Format
1001 A+B Format (20 分) Calculate a+b and output the sum in standard format -- that is,
还没有评论,来说两句吧...