搜索结果
找到约 903 项符合
stRing-include 的查询结果
数据结构 1.[问题描述] 编写递归算法
1.[问题描述]
编写递归算法,计算二叉树中叶子结点的数目
[输入]
按照先序序列的顺序输入该结点的内容。其输入abd eh cf i g .
[输出]
按中序序列输出,输出的结果为;dbheaficg并计算出二叉树中叶子结点的数目为4
[存储结构]
采用二叉表存储
[算法的基本思想]
采用递归方法建立和遍历二叉树。首先建立二叉树的根结点,然 ...
数据结构 2.[问题描述] 编写递归算法
2.[问题描述]
编写递归算法,在二叉树中求位于先序序列中第K个位置的结点
[输入]
按照先序序列的顺序输入该结点的内容。其输入abd eh cf i g 。输入要求的位置
[输出]
若二叉树不空,按先序序列输出,求出所求位置的结点
[存储结构]
采用二叉表存储
[算法的基本思想]
采用递归方法建立和遍历二叉树。首先建立二叉树的根结 ...
数据结构 [问题描述] 将N个关键字去整数的记录进行整序
[问题描述]
将N个关键字去整数的记录进行整序, 以使所有关键字为非负数的记录排在关键字为负数的记录之前,要求使用最少的附加空间,且算法的时间复杂度为O(N)
[输入]
待排序记录个数,各关键字的值。
[输出]
关键字从正负分开,正数在前
[存储结构]
待排序记录顺序存储。
[算法的基本思想]
快速排序算法每次任取一个记 ...
软件工程 Software Testing, Second Edition provides practical insight into the world of software testing and q
Software Testing, Second Edition provides practical insight into the world of software testing and quality assurance. Learn how to find problems in any computer program, how to plan an effective test approach and how to tell when software is ready for release. Updated from the previous edition in 20 ...
其他书籍 The ability to write efficient, high-speed arithmetic routines ultimately depends upon your knowled
The ability to write efficient, high-speed arithmetic routines ultimately depends
upon your knowledge of the elements of arithmetic as they exist on a computer. That
conclusion and this book are the result of a long and frustrating search for
information on writing arithmetic routines for real-time ...
其他 this is μC_OS-Ⅱchinese for arm7 operation
this is μC_OS-Ⅱchinese for arm7 operation,include some useful code
单片机开发 /// ////单端输入
/// ////单端输入,定时启动,由T2定时,选择AIN0.3为ADC0转化通道////////////////
//////single.c///////////////////////////////////
#include "lcd.h"//笔者所写的LCD显示头文件,具体见LCD章节
/*若读者没有条件使用"lcd.h"的各显示和键盘函数,则可在lcd.h文件中如下定义: ...
数值算法/人工智能 ApMl provides users with the ability to crawl the web and download pages to their computer in a dire
ApMl provides users with the ability to crawl the web and download pages to their computer in a directory structure suitable for a Machine Learning system to both train itself and classify new documents. Classification Algorithms include Naive Bayes, KNN
多国语言处理 此程序用来分离一个字符串中的数字及字符
此程序用来分离一个字符串中的数字及字符,string.zip
汇编语言 --- --- --- --- --- --- --- --- --- --- --- --- --- Filename : HP_SENSOR-9.ASM() Remark :
--- --- --- --- --- --- --- --- --- --- --- --- ---
Filename : HP_SENSOR-9.ASM()
Remark :
--- --- --- --- --- --- --- --- --- --- --- --- ---
#include HT82M99E.INC
#include USBFIFO.INC
#include HP_SENSOR.INC
------------------------------------------------------------------------------
...