当前位置:网站首页>Total score of [Huawei machine test] (how to deal with the wrong answer? Go back once to represent one wrong answer)
Total score of [Huawei machine test] (how to deal with the wrong answer? Go back once to represent one wrong answer)
2022-04-23 05:38:00 【CashAp】
Employees take exams , Judgment questions X10( Every 2 branch ), Single topic selection X10( Every 4 branch ), Multiple choice X5( Eight points for each ).
You can only answer in sequence , Correct score , Wrong answer, no score . Three wrong answers , Suspend the exam .
Enter the test result score ,
Output the number of possible answers .
1 to flash back ( Show the right questions 、 Number of questions )
How to deal with wrong answers ?
When backtracking recursively traverses a binary tree , After traversing the leaf node , Need to trace back to the parent node , Traverse the next node of the parent node , It can be understood as , The leaf node just traversed is Wrong answer The situation of , Therefore, we do not count the topics represented by the leaf node to Answer A collection of topics (path) in .
One answer , It is equivalent to traversing the branches of a binary tree once .
namely , Go back once , The representative answered a wrong question .
package com.huawei;
import java.util
版权声明
本文为[CashAp]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230536356796.html
边栏推荐
- 弘玑微课堂 | Cyclone RPA之“灵活的数字员工”执行器
- refused connection
- Formal parameters, local variables and local static variables
- Generation of straightening body in 3D slicer
- Redis经典面试题总结2022
- What financial products will benefit during May Day?
- Breadth first search topics (BFS)
- Pytorch deep learning practice_ 11 convolutional neural network
- 50 SQL exercises, answers and detailed analysis
- [machine learning] scikit learn introduction
猜你喜欢

Camera imaging + homography transformation + camera calibration + stereo correction

C language - Spoof shutdown applet

Use of qwbengneview and qwebchannel.

OSI层常用协议

Transposed convolution

Various situations of data / component binding

The 8th Blue Bridge Cup 2017 - frog jumping cup

Flutter 新一代圖形渲染器 Impeller

Create process memory management copy_ Mm - processes and threads (IX)
![[triangle Yang Hui triangle printing odd even cycle JS for break cycle]](/img/9a/6cdc00e6056a1a47d2fbb8b9a8e975.png)
[triangle Yang Hui triangle printing odd even cycle JS for break cycle]
随机推荐
qt. qpa. plugin: Could not find the Qt platform plugin “xcb“ in ““
acwing854. Floyd finds the shortest path
(11) Vscode code formatting configuration
js数字大写方法
Use pagoda + Xdebug + vscode to debug code remotely
Executable program execution process
Frequently asked interview questions - 2 (computer network)
OSI层常用协议
shell指令学习1
转置卷积(Transposed Convolution)
可執行程序執行流程
[untitled] Notepad content writing area
Reading notes of modern methods of C language programming
Create process memory management copy_ Mm - processes and threads (IX)
橙单微服务之批量导入
windows连接mysql出现ERROR 2003 (HY000): Can‘t connect to MySQL server on ‘localhost‘ (10061)
The title bar will be pushed to coincide with the status bar
Shell instruction learning 1
After adding qmenu to qtoolbutton and QPushButton, remove the triangle icon in the lower right corner
Solid contract DoS attack