摘要:
题目:https://pintia.cn/problem-sets/1268384564738605056/problems/1296272390837731328题解:https://blog.csdn.net/weixin_44260779/article/details/102613232代码 阅读全文
posted @ 2020-09-05 22:55
邢涌芝
阅读(161)
评论(0)
推荐(0)
摘要:
题目:https://pintia.cn/problem-sets/1268384564738605056/problems/1294124786527993859题解:https://blog.csdn.net/Invokar/article/details/80383159代码: #includ 阅读全文
posted @ 2020-09-05 22:44
邢涌芝
阅读(166)
评论(0)
推荐(0)
摘要:
题目:https://pintia.cn/problem-sets/1268384564738605056/problems/1294124786527993858题解:https://blog.csdn.net/qq_38558834/article/details/79730172代码: #in 阅读全文
posted @ 2020-09-05 22:43
邢涌芝
阅读(199)
评论(0)
推荐(0)
摘要:
题目:https://pintia.cn/problem-sets/1268384564738605056/problems/1294124786527993857题解:https://blog.csdn.net/Invokar/article/details/80372316代码: #includ 阅读全文
posted @ 2020-09-05 22:41
邢涌芝
阅读(140)
评论(0)
推荐(0)
摘要:
题目:https://pintia.cn/problem-sets/1268384564738605056/problems/1294124786527993856题解:https://blog.csdn.net/as14569852/article/details/75043537代码: #inc 阅读全文
posted @ 2020-09-05 22:39
邢涌芝
阅读(175)
评论(0)
推荐(0)
摘要:
题目:https://pintia.cn/problem-sets/1268384564738605056/problems/1291317697694580738题解:https://www.liuchuo.net/archives/2301代码: #include <iostream> usin 阅读全文
posted @ 2020-09-05 22:38
邢涌芝
阅读(142)
评论(0)
推荐(0)
摘要:
题目:https://pintia.cn/problem-sets/1268384564738605056/problems/1291317697694580737题解:https://www.liuchuo.net/archives/2260代码: #include <iostream> #inc 阅读全文
posted @ 2020-09-05 22:37
邢涌芝
阅读(76)
评论(0)
推荐(0)
摘要:
题目:https://pintia.cn/problem-sets/1268384564738605056/problems/1291317697694580736题解:https://blog.csdn.net/qq_40946921/article/details/99723044代码: #in 阅读全文
posted @ 2020-09-05 22:35
邢涌芝
阅读(75)
评论(0)
推荐(0)
摘要:
题目:https://pintia.cn/problem-sets/1268384564738605056/problems/1289169858763866114题解:https://www.liuchuo.net/archives/2273代码: #include <iostream> #inc 阅读全文
posted @ 2020-09-05 22:34
邢涌芝
阅读(125)
评论(0)
推荐(0)
摘要:
题目:https://pintia.cn/problem-sets/1268384564738605056/problems/1289169858763866113题解:https://www.liuchuo.net/archives/1902代码: #include <iostream> #inc 阅读全文
posted @ 2020-09-05 22:33
邢涌芝
阅读(105)
评论(0)
推荐(0)
摘要:
题目:https://pintia.cn/problem-sets/1268384564738605056/problems/1289169858763866112题解:https://blog.csdn.net/qq_38996065/article/details/79919366代码: #in 阅读全文
posted @ 2020-09-05 22:31
邢涌芝
阅读(133)
评论(0)
推荐(0)
摘要:
题目:https://pintia.cn/problem-sets/1268384564738605056/problems/1286606445168746498题解:https://blog.csdn.net/qq_38996065/article/details/79919366代码: #in 阅读全文
posted @ 2020-09-05 22:30
邢涌芝
阅读(128)
评论(0)
推荐(0)
摘要:
题目:https://pintia.cn/problem-sets/1268384564738605056/problems/1286606445168746497题解:https://blog.csdn.net/grooowing/article/details/45201267代码: #incl 阅读全文
posted @ 2020-09-05 22:28
邢涌芝
阅读(219)
评论(0)
推荐(0)
摘要:
题目:https://pintia.cn/problem-sets/1268384564738605056/problems/1286606445168746496题解:https://blog.csdn.net/whd526/article/details/50718811代码: #include 阅读全文
posted @ 2020-09-05 22:27
邢涌芝
阅读(114)
评论(0)
推荐(0)
摘要:
题目:https://pintia.cn/problem-sets/1268384564738605056/problems/1284061680920891393题解:https://blog.csdn.net/hh66__66hh/article/details/83822673代码: #inc 阅读全文
posted @ 2020-09-05 22:25
邢涌芝
阅读(151)
评论(0)
推荐(0)
摘要:
题目:https://pintia.cn/problem-sets/1268384564738605056/problems/1284061680920891392题解:https://blog.csdn.net/tuzigg123/article/details/46897871代码: /*201 阅读全文
posted @ 2020-09-05 22:23
邢涌芝
阅读(177)
评论(0)
推荐(0)
摘要:
题目:https://pintia.cn/problem-sets/1268384564738605056/problems/1284061680916697088 哈利·波特要考试了,他需要你的帮助。这门课学的是用魔咒将一种动物变成另一种动物的本事。例如将猫变成老鼠的魔咒是haha,将老鼠变成鱼的 阅读全文
posted @ 2020-09-05 22:21
邢涌芝
阅读(259)
评论(0)
推荐(0)
摘要:
题目:https://pintia.cn/problem-sets/1268384564738605056/problems/1281571555116650497 “六度空间”理论又称作“六度分隔(Six Degrees of Separation)”理论。这个理论可以通俗地阐述为:“你和任何一个 阅读全文
posted @ 2020-09-05 22:16
邢涌芝
阅读(167)
评论(0)
推荐(0)
摘要:
题目:https://pintia.cn/problem-sets/1268384564738605056/problems/1281571555116650496 This time let us consider the situation in the movie "Live and Let 阅读全文
posted @ 2020-09-05 22:14
邢涌芝
阅读(128)
评论(0)
推荐(0)
摘要:
题目:https://pintia.cn/problem-sets/1268384564738605056/problems/1281571555112456192 给定一个有N个顶点和E条边的无向图,请用DFS和BFS分别列出其所有的连通集。假设顶点从0到N−1编号。进行搜索时,假设我们总是从编号 阅读全文
posted @ 2020-09-05 22:13
邢涌芝
阅读(160)
评论(0)
推荐(0)
摘要:
题目:https://pintia.cn/problem-sets/1268384564738605056/problems/1278908289143574530 In 1953, David A. Huffman published his paper "A Method for the Con 阅读全文
posted @ 2020-09-05 22:10
邢涌芝
阅读(149)
评论(0)
推荐(0)
摘要:
题目:https://pintia.cn/problem-sets/1268384564738605056/problems/1278908289143574529 We have a network of computers and a list of bi-directional connect 阅读全文
posted @ 2020-09-05 22:07
邢涌芝
阅读(106)
评论(0)
推荐(0)
摘要:
题目:https://pintia.cn/problem-sets/1268384564738605056/problems/1278908289143574528 将一系列给定数字插入一个初始为空的小顶堆H[]。随后对任意给定的下标i,打印从H[i]到根结点的路径。 输入格式: 每组测试第1行包含 阅读全文
posted @ 2020-09-05 22:06
邢涌芝
阅读(126)
评论(0)
推荐(0)
摘要:
题目:https://pintia.cn/problem-sets/1268384564738605056/problems/1276814005115539458 A Binary Search Tree (BST) is recursively defined as a binary tree 阅读全文
posted @ 2020-09-05 22:04
邢涌芝
阅读(85)
评论(0)
推荐(0)
摘要:
题目:https://pintia.cn/problem-sets/1268384564738605056/problems/1276814005115539457 An AVL tree is a self-balancing binary search tree. In an AVL tree, 阅读全文
posted @ 2020-09-05 22:02
邢涌芝
阅读(159)
评论(0)
推荐(0)
摘要:
题目:https://pintia.cn/problem-sets/1268384564738605056/problems/1276814005115539456 给定一个插入序列就可以唯一确定一棵二叉搜索树。然而,一棵给定的二叉搜索树却可以由多种不同的插入序列得到。例如分别按照序列{2, 1, 阅读全文
posted @ 2020-09-05 22:00
邢涌芝
阅读(109)
评论(0)
推荐(0)
摘要:
题目: https://pintia.cn/problem-sets/1268384564738605056/problems/1274008636207132674 An inorder binary tree traversal can be implemented in a non-recur 阅读全文
posted @ 2020-09-05 21:58
邢涌芝
阅读(125)
评论(0)
推荐(0)
摘要:
题目: https://pintia.cn/problem-sets/1268384564738605056/problems/1274008636207132673 Given a tree, you are supposed to list all the leaves in the order 阅读全文
posted @ 2020-09-05 21:56
邢涌芝
阅读(106)
评论(0)
推荐(0)
摘要:
题目:https://pintia.cn/problem-sets/1268384564738605056/problems/1274008636207132672 给定两棵树T1和T2。如果T1可以通过若干次左右孩子互换就变成T2,则我们称两棵树是“同构”的。例如图1给出的两棵树就是同构的,因为我 阅读全文
posted @ 2020-09-05 21:54
邢涌芝
阅读(146)
评论(0)
推荐(0)
摘要:
题目: https://pintia.cn/problem-sets/1268384564738605056/problems/1271415149946912771 Given a stack which can keep M numbers at most. Push N numbers in 阅读全文
posted @ 2020-09-05 21:53
邢涌芝
阅读(93)
评论(0)
推荐(0)
摘要:
题目: https://pintia.cn/problem-sets/1268384564738605056/problems/1271415149946912770 Given a constant K and a singly linked list L, you are supposed to 阅读全文
posted @ 2020-09-05 21:44
邢涌芝
阅读(102)
评论(0)
推荐(0)
摘要:
题目: https://pintia.cn/problem-sets/1268384564738605056/problems/1271415149946912769 设计函数分别求两个一元多项式的乘积与和。 输入格式: 输入分2行,每行分别先给出多项式非零项的个数,再以指数递降方式输入一个多项式非 阅读全文
posted @ 2020-09-05 21:42
邢涌芝
阅读(119)
评论(0)
推荐(0)
摘要:
题目: https://pintia.cn/problem-sets/1268384564738605056/problems/1268385944106778625 Given a sequence of K integers { N1, N2, ..., NK }. A con 阅读全文
posted @ 2020-09-05 21:34
邢涌芝
阅读(110)
评论(0)
推荐(0)
摘要:
题目: https://pintia.cn/problem-sets/1268384564738605056/problems/1268385944106778624 给定K个整数组成的序列{ N1, N2, ..., NK },“连续子列”被定义为{ Ni, Ni+1 阅读全文
posted @ 2020-09-05 21:31
邢涌芝
阅读(129)
评论(0)
推荐(0)
摘要:
题目: https://pintia.cn/problem-sets/1268384564738605056/problems/1276814005115539459题解: https://blog.csdn.net/Dilly__dally/article/details/82025393代码: 阅读全文
posted @ 2020-09-05 21:25
邢涌芝
阅读(126)
评论(0)
推荐(0)


浙公网安备 33010602011771号