• 欢迎访问废江's博客` QQ群`
• 如果您觉得本站非常有看点，那么赶紧使用Ctrl+D 收藏本站吧

## 07-图6 旅游规划

2周前 (11-28) 10浏览 0个赞

## 06-图2 Saving James Bond – Easy Version

This time let us consider the situation in the movie “Live and Let Die” in which James Bond, the world’s most famous spy, was captured by a group of drug dealers.……继续阅读 »

2周前 (11-28) 12浏览 0个赞

## 05-树8 File Transfer

We have a network of computers and a list of bi-directional connections. Each of these connections allows a file transfer from one computer to another. Is it possible to send a fil……继续阅读 »

2周前 (11-27) 9浏览 0个赞

## 05-树7 堆中的路径

3周前 (11-27) 7浏览 0个赞

## 04-树6 Complete Binary Search Tree

A Binary Search Tree (BST) is recursively defined as a binary tree which has the following properties:The left subtree of a node contains only nodes with keys less than the node&#……继续阅读 »

1个月前 (11-12) 16浏览 1个赞

## 05-树9 Huffman Codes

In 1953, David A. Huffman published his paper “A Method for the Construction of Minimum-Redundancy Codes”, and hence printed his name in the history of computer science……继续阅读 »

1个月前 (11-11) 19浏览 0个赞

## 06-图1 列出连通集

1个月前 (11-10) 14浏览 0个赞

## 03-树3 Tree Traversals Again

An inorder binary tree traversal can be implemented in a non-recursive way with a stack. For example, suppose that when a 6-node binary tree (with the keys numbered from 1 to 6) is……继续阅读 »

1个月前 (11-09) 20浏览 0个赞

## 04-树5 Root of AVL Tree

An AVL tree is a self-balancing binary search tree. In an AVL tree, the heights of the two child subtrees of any node differ by at most one; if at any time they differ by more than……继续阅读 »

1个月前 (11-09) 13浏览 0个赞

## 04-树7 二叉搜索树的操作集

1个月前 (11-08) 16浏览 0个赞

## 04-树4 是否同一棵二叉搜索树

1个月前 (11-08) 14浏览 2个赞

## 03-树2 List Leaves

Given a tree, you are supposed to list all the leaves in the order of top down, and left to right.Input Specification:Each input file contains one test case. For each case, the f……继续阅读 »

1个月前 (11-05) 21浏览 0个赞

## 03-树1 树的同构

1个月前 (11-04) 41浏览 1个赞

Given a constant K and a singly linked list L, you are supposed to reverse the links of every K elements on L. For example, given L being 1→2→3→4→5→6, if K=3, then you must output ……继续阅读 »

1个月前 (11-04) 14浏览 2个赞

## 02-线性结构4 Pop Sequence

Given a stack which can keep M numbers at most. Push N numbers in the order of 1, 2, 3, …, N and pop randomly. You are supposed to tell if a given sequence of numbers is a po……继续阅读 »

2个月前 (10-11) 33浏览 2个赞

## 02-线性结构1 两个有序链表序列的合并

2个月前 (10-04) 60浏览 5个赞

## 02-线性结构2 一元多项式的乘法与加法运算

2个月前 (10-01) 25浏览 2个赞

• 版权声明

本站的文章和资源来自互联网或者站长
的原创，按照 CC BY -NC -SA 3.0 CN
协议发布和共享，转载或引用本站文章
应遵循相同协议。如果有侵犯版权的资
源请尽快联系站长，我们会在24h内删
除有争议的资源。
• 网站驱动

• 友情链接

• 关于我们