当前位置:网站首页>Derivation of child numbering formula for nodes numbered I in full k-ary tree
Derivation of child numbering formula for nodes numbered I in full k-ary tree
2022-06-11 17:05:00 【wozaizhe. fifty-five】
Conclusion
full k The fork tree number is i The number of the first child of the node j Satisfy
;
Derivation process
set up : node i In this m The second of a fork tree h layer , (h = 1, 2, 3...)
be front h - 1 There are layers in total
Nodes
Empathy front h There are layers in total
Nodes
obviously i It's No h Layer of
Nodes , namely node i Yes
A left brother
So node i The first child of j Yes
A left brother
It can be obtained. j In the h + 1 The position in the layer is 
that node j The whole tree is full k The number of the fork tree is 
namely 
You can get : 
边栏推荐
- Redis - learn five types of NoSQL
- Elasitcsearch basic learning notes (1)
- jsp页面初始加载方式
- RSP:遥感预训练的实证研究
- My C の errors
- From a "trendsetter" to a "wind chaser", can master Kang still lead the market?
- How to store tree structure in database
- 多任务学习经典品读:MMoE模型篇
- Regression prediction | realization of RBF RBF neural network with multiple inputs and single output by MATLAB
- A set of ThinkPHP wechat applet mall source code with background management
猜你喜欢

Chip mass production, oppo entering a new era?

Science popularization genius on the left, madman on the right

Research Report on operation mode and investment opportunities of China's aluminum industry 2022-2028

^32 execution context stack interview questions

The micro service failed to connect to the cloud sentinel console and the link blank problem occurred after the connection was successful (resolved)

2022 national question bank and mock examination for safety officer-b certificate

基于文本驱动用于创建和编辑图像(附源代码)

^32执行上下文栈面试题

LeetCode——42. 接雨水(双指针)

JINTE NET基金会将通过线上直播参与维度链全球战略发布会
随机推荐
多任务学习经典品读:MMoE模型篇
2022 molten welding and thermal cutting work license and simulation examination
关联关系
RSP:遥感预训练的实证研究
Oracle数据库合并行记录,WMSYS.WM_CONCAT 函数的用和MySQL 中GROUP_CONCAT(id)的使用及比较。
核密度估计(二维、三维)
Elasitcsearch basic learning notes (1)
Pycharm使用小技巧 - 如何设置背景图片
LeetCode-1005. Maximized array sum after K negations
(validation file) validatejarfile report errors
Analysis report on future development trend and investment suggestions of global and Chinese soybean protein industry 2022-2028
Guide to Dama data management knowledge system: percentage of chapter scores
7 life tools: SWOT, PDCA, 6w2h, smart, WBS, time management, and the 28 principles
LeetCode-859. 亲密字符串
Analyze which should be tested in PMP and ACP with actual cases? Which is more useful?
LeetCode——42. Connected to rainwater (double pointer)
每周推荐短视频:菜鸟CEO谈未来物流新赛道
Solr (II) Solr adds core and dependent package path
Kernel density estimation (2D, 3D)
2022 R1 quick opening pressure vessel operation test question bank and simulation test