-
以深度为k的满二叉树(n=2k
以深度为k的满二叉树(n=2k-1)为例,假设表中每个记录的查找概率相等,即 pi=1/n(1≤i≤n),而树的第i层上有2i-1个结点,因此,折半查找的平均查找长度为:
所以,折半查找的平均时间复杂度为O(log2n)。
-To a depth of k over the binary tree (n = 2k-1) as an example, suppose the table to find the probability of each record the same, that is, pi = 1/n (1 ≤ i ≤ n), and the tree layer of the first i There are 2i-1 nodes, therefore, to find half the average length of search as follows: Therefore, to find half the average time complexity is O (log2n).
- 2023-08-09 03:30:03下载
- 积分:1
-
implement dynamic printing of window pictures using Tbitmap in Delphi.
Delphi中利用Tbitmap实现窗体图形动态打印-implement dynamic printing of window pictures using Tbitmap in Delphi.
- 2022-09-20 18:50:03下载
- 积分:1
-
own examples of the menu tree
自己做的菜单树例子-own examples of the menu tree
- 2022-02-06 12:44:49下载
- 积分:1
-
代码行数计算工具,
可以计算某个目录下面及其子
目录中指定类型[以后缀名]标识的
文件集合包含代码的总行数,大家可以
任意使用,任意修改源代码。...
代码行数计算工具,
可以计算某个目录下面及其子
目录中指定类型[以后缀名]标识的
文件集合包含代码的总行数,大家可以
任意使用,任意修改源代码。
空行不算
简单注释不算,比如, “//”开头的行不算-Lines of code calculated by the number of tools, can calculate a directory and its subdirectories below the specified type [to the suffix name] logo document collection contains a few head office code, we can use, modify any source code. Notes is not a simple blank line is not, for example, // at the beginning of the line is not
- 2022-10-25 04:50:02下载
- 积分:1
-
基于ssm 的java开发的一个小小的列表查询,用到bootStarp做前台框架
基于ssm 的java开发的一个小小的列表查询,用到bootStarp做前台框架
- 2022-03-26 05:34:33下载
- 积分:1
-
通过接口发送合成的pdf邮件
资源描述把几个pdf文件合成一个新的pdf,通过163邮箱发送给其他人
- 2023-03-02 13:40:17下载
- 积分:1
-
freepiano 源代码
freepiano 1.8源代码软件介绍键盘模拟钢琴(freepiano)小巧的键盘模拟钢琴,利用键盘上的按键弹奏出美妙的钢琴音乐还可以将音乐导出为MP4文件~特点:支持多种音频输出方式,包括DirectSound, WASAPI和ASIO。可以定义键盘上任意一个按键的功能与显示。多套键盘配置可以在演奏中任意切换。可将录制的乐曲导出成视频MP4文件。完全免费的,您不需要购买就可以使用全部的功能。直接调用VSTi音源,不需要安装虚拟MIDI设备。
- 2022-09-13 03:10:04下载
- 积分:1
-
分形图制作 别人的http://huanqiu.51.net/VC/15.htm
分形图制作 别人的http://huanqiu.51.net/VC/15.htm -Fractal Map others http://huanqiu.51.net/VC/15.htm
- 2022-07-11 09:16:23下载
- 积分:1
-
c语言经典的实现了最大公约数的算法
可以处理int内的任意整数!还有运行图
及运行处理的结果!...
c语言经典的实现了最大公约数的算法
可以处理int内的任意整数!还有运行图
及运行处理的结果!-c classical language to achieve a common denominator of the algorithm can handle int the arbitrary integer! There diagram and operation of the outcome!
- 2022-07-23 00:43:52下载
- 积分:1
-
内存管理.使用他可以看到一个内存管理的有关情况.
内存管理.使用他可以看到一个内存管理的有关情况.-memory management. He can see the use of a memory management of the situation.
- 2022-08-06 06:26:36下载
- 积分:1