当前位置:网站首页>CVTE school recruitment written test questions + summary of knowledge points
CVTE school recruitment written test questions + summary of knowledge points
2022-07-30 09:53:00 【HUAWEI CLOUD】
2016.9.3 19:00参加CVTE笔试,笔试内容如下:
需要掌握的知识:Linux基本命令、网络协议、数据库、数据结构.
选择题
1.36进制转换(0~9, A~Z):28045707425转换结果为...P
2.Number of nodes in the binary tree known,Strives for the minimum depth of the tree.
The depth of the tree in the binary tree and the number of nodes relations
二叉树的性质
性质1 在二叉树的第i层上至多有2(i-1)个节点(i>=1).
性质2 深度为k的二叉树至多有2k-1个节点(k>=1).
性质3 对任何一棵二叉树T,若叶子节点数为m,度为2的节点数为n,则m=n+1.
性质4 具有n个节点的完全二叉树的深度为log2n(向下取整)+1.
性质5:如果对于一棵有n个节点的完全二叉树(其深度depth=log2n+1下取整)的节点按层序编号(从第一层到第depth层,每层从左到右),对任一节点i(1 <= i <= n):
1.如果i=1,则节点i是二叉树的根,无双亲;如果i>1,则其双亲节点是i/2(下取整).
2.如果2i>n,则节点i无左孩子(节点i为叶子节点);否则其左孩子是节点2i;
3.如果2i+1>n,则节点i无右孩子;Otherwise the right child node as2i+1.
一棵深度为k且有2k-1个结点的二叉树称为满二叉树.
编程题
1.全排列
2.Palindrome judgment maximum length of string.
附 58The school recruit the written content summary
1.According to the binary tree of sequence traversal first、后序遍历,In the sequence traversal results.
已知前序遍历序列和中序遍历序列,可以唯一确定一颗二叉树.
已知后序遍历序列和中序遍历序列,可以唯一确定一颗二叉树.
已知前序遍历序列和后序遍历序列,是不能确定一颗二叉树的.
2.All kinds of sort algorithm in time complexity asO(nlogn),And stable sorting algorithm
参考博文:
3.编程题.Fight the landlord to find shunza,随机抽取5张牌,若5Card is continuous,则为顺子.Big wang for any number of,A为0,J,Q,K分别为11,12,13.
4.Suddenly remind of a rookie network interview the interviewer asked the question:Fast row with bubble sort algorithm,时间复杂度的含义.
在内排序中,主要进行两种操作:比较和移动.The time complexity is determined by the comparison and mobile number.
Because your answer is so insecure!
边栏推荐
- 新一代开源免费的终端工具,太酷了
- 606. 根据二叉树创建字符串(视频讲解!!!)
- 快解析结合任我行crm
- leetcode 剑指 Offer 48. 最长不含重复字符的子字符串
- Taosi TDengine 2.6+ optimization parameters
- Explain the problem of change exchange in simple terms - the shell of the backpack problem
- 仿牛客网项目第一章:开发社区首页(详细步骤和思路)
- qsort 函数的使用及其模拟实现
- Detailed description of iperf3 parameter options
- MySQL之COUNT性能到底如何?
猜你喜欢

Circuit analysis: constant current source circuit composed of op amp and triode

leetcode 剑指 Offer 25. 合并两个排序的链表

快解析结合任我行crm

实战演练 | 在 MySQL 中计算每日平均日期或时间间隔

Day113.尚医通:微信登录二维码、登录回调接口

Access to display the data

九九乘法表

ESP32 入门篇(一)使用 VS Code 进行开发环境安装

Unified exception handling causes ResponseBodyAdvice to fail

实施敏捷过程中这些常见的问题你可曾遇到?
随机推荐
判断一颗树是否为完全二叉树——视频讲解!!!
shell脚本
快解析结合任我行crm
Shell系统学习之函数
大数据产品:标签体系0-1搭建实践
Day113.尚医通:微信登录二维码、登录回调接口
PyQt5快速开发与实战 8.1 窗口风格
sort函数使用cmp出错Line 22: Char 38: error: reference to non-static member function must be called
leetcode 剑指 Offer 25. 合并两个排序的链表
新一代开源免费的终端工具,太酷了
PyTorch安装及环境配置(Win10)
leetcode 剑指 Offer 48. 最长不含重复字符的子字符串
学习笔记10--局部轨迹生成主要方法
els 方块停在方块上。
2022/07/29 学习笔记 (day19)异常处理
实战演练 | 在 MySQL 中计算每日平均日期或时间间隔
How to avoid CMDB becoming a data island?
实施敏捷过程中这些常见的问题你可曾遇到?
【深度学习】(问题记录)<对一个变量求梯度得到什么>-线性回归-小批量随机梯度下降
HCIP - MPLS VPN experiment
