搜索资源列表
dzqArray
- 一个非常完整的动态数组类,包含一维数组,二维数组,3维数组. 具有常规构造函数,拷贝构造函数,付值函数,不存在内存泄露.-a very comprehensive array of dynamic category, contains one-dimensional arrays, two-dimensional array, three-dimensional array. conventional structural function, the copy constructor fun
数据结构的C++描述
- 目 录 译者序 前言 第一部分 预备知识 第1章 C++程序设计 1 1.1 引言 1 1.2 函数与参数 2 1.2.1 传值参数 2 1.2.2 模板函数 3 1.2.3 引用参数 3 1.2.4 常量引用参数 4 1.2.5 返回值 4 1.2.6 递归函数 5 1.3 动态存储分配
binarytree
- 二叉树的操作,涉及到三种顺序的遍历,树的凹入表示法,转化为一维数组储存,节点的计数,以及中序线索化。-Binary operation, involving three kinds of the order of traversal, tree concave representation into a one-dimensional array of storage, the node count, as well as in the threaded sequence.
3_list
- 三: 针对带表头结点的单链表,试编写下列函数。 (1) 定位函数Locate:在单链表中寻找第i个结点。若找到,则函数返回第i个结点的地址;若找不到,则函数返回NULL。 (2) 求最大值函数max:通过一趟遍历在单链表中确定值最大的结点。 (3) 统计函数number:统计单链表中具有给定值x的所有元素。 (4) 建立函数create:根据一维数组a[n]建立一个单链表,使单链表中各元素的次序与a[n]中各元素的次序相同,要求该程序的时间复杂性为O(n)。 (5) 整理函数
one_dimension_array
- 用template实现一维数组的数据结构。-Template used to achieve one-dimensional array data structure.
qsort
- 快速一维数组排列,使用qsort函数,可使用在大量一维数组的快速排列中-Fast one-dimensional array array, use the qsort function, can be used in a large number of one-dimensional array arranged in the rapid
2.3
- 编程用一维数组模拟一个队列,实现入队列和出队列操作-Programming with one-dimensional simulation of a queue array to achieve up to the queue and queue operation
cr
- 此程序主要查实现插入排序,过程为依次输入集合A和B的元素,在一维数组space中建立表示集合(A-B)∪(B-A)-This procedure to achieve the main search Insertion Sort, process followed by the importation of a collection of elements A and B, in the one-dimensional array to create a space that the colle
duichengjuzhen
- 对称矩阵相乘:2. A和B是两个n×n阶的对称矩阵,以行为主序输入对称矩阵的下三角元素,压缩存储存入一维数组A和B,编写一个算法计算对称矩阵A和B的乘积,结果存入二维数组C。-Symmetric matrices: 2. A and B are two n × n symmetric band matrix, in order to conduct the main sequence of input symmetric matrix elements of lower triangular,
hello
- 动态规划的是思想实现,快速查找最长公共字串的问题(二维数组和一维数组的实现)-adapt the DP to solve the common longest strings(two and one dimension array)
shiyanliu
- 假设有一个数据类型为整型的一维数组A,A 中的数据元素呈无序状态,编写一个采用堆排序法将A中的数据元素按由小到大进行排序的程序。-Suppose a data type for the integer one-dimensional array A, A in the data element was disorder, to write a heap sort method used in the data elements A sort of process by small to larg
data_struct6
- 数据结构课后设计题第六章 6.33③ 假定用两个一维数组L[1..n]和R[1..n]作为 有n个结点的二叉树的存储结构, L[i]和R[i]分别指 示结点i的左孩子和右孩子,0表示空。试写一个算法 判别结点u是否为结点v的子孙。-Data structure design question after class VI 6.33 ③ assumed with two one-dimensional array L [1 .. n] and R [1 .. n] as an
1
- 对于线性表的顺序存储结构,在结构体中使用静态一维数组-For the linear order of the table storage structure, the structure used in the static one-dimensional array
nrutil
- 功能:申请一个实数数组,将一个实数一维数组转化为二维数组(矩阵)。-Function: for a real array, a real one-dimensional array into a two-dimensional array (matrix).
Sort
- 采用多种排序算法(归并排序、堆排序)对一维数组进行排序-sort
sss
- 这是一个有关labview的一维数组排序,希望大家能够喜欢-failed to translate
C
- 掌握C语言一维数组和冒泡算法,让你学的更好,更明白-good study
111
- 实现数组的自动排序,以及2个一维数组的合并。合并后的新数组也实现自动排序 -To achieve an array of automatic sorting, as well as two one-dimensional array of the merger. After the merger is also automatically sort the new array
4
- (1)已知一棵完全二叉树存放于一个一维数组T[n]中,T[n]中存放的是各结点的值。试设计一个算法,从T[0]开始顺序读出各结点的值,建立该二叉树的二叉链表表示。 (2)二叉树的双序遍历(Double-order traversal)是指:对于二叉树的每一个结点来说,先访问这个结点,再按双序遍历它的左子树,然后再一次访问这个结点,接下来按双序遍历它的右子树。试写出执行这种双序遍历的算法。 -(1) known to a complete binary tree stored in a o
测试数组名是否占用内存
- 测试数组名是否占用内存,包括一维数组,二维数组