当前位置:首页 > 题库

题库

  • 最新
  • 浏览
  • 评论

CODE_COMPLETION:Binary tree - 12. Number of branch nodes

Luz1周前 (06-06)125
Please write a function to find the number of branch nodes (non terminal nodes) of binary tree.####Function prototype```...

CODE_COMPLETION:Binary tree - 11. Leaf node number

Luz1个月前 (05-10)34
Please write a function to find the number of leaf nodes of binary tree.####Function prototype```cint BinTreeNumLeaf(con...

CODE_COMPLETION:Binary tree - 10. Finding the number of nodes

Luz1个月前 (05-10)27
Please write a function to find the number of nodes in the binary tree.####Function prototype```cint BinTreeNumNode(cons...

CODE_COMPLETION:Binary tree - 13. Depth of binary tree

Luz1个月前 (05-10)24
Please write a function to find the depth of the binary tree.####Function prototype```cint BinTreeDepth(const TNODE *roo...

CODE_COMPLETION:Binary tree - 14. Comprehensive application (multi level menu)

Luz1个月前 (05-10)23
Please write the main function, first create an empty binary tree, and then display the main menu as shown in the figure...

PROGRAMMING:High precision quadrature

Luz1个月前 (05-10)10
Enter two high-precision positive integers m and n (M and N are less than 100 bits), and find the product of the two hig...

PROGRAMMING:museum

Luz1个月前 (05-10)18
Once upon a time, there was such a large museum that tens of thousands of people would visit it every day to enjoy the a...

PROGRAMMING:Lucky numbers

Luz1个月前 (05-10)13
Xiao Bo likes numbers 4 and 7 very much. When he sees a number, he wants to quickly calculate the number of 4 and 7 in t...

PROGRAMMING:Balancing Symbols

Luz1个月前 (05-10)10
Check a section of C code if the parenthesis ( ), brackets [ ], and braces { } are balanced. For simplicity, there is on...

PROGRAMMING:Factorial sum

Luz1个月前 (05-10)16
Given the positive integer n * * (n ˂ = 100) * *, let s = 1+ 2!+ 3!+...+ n!。 Where "!" Denotes factorial, that is n= 1*2...