74. In computer science, a recursive function is a function which is defined by its self. About recursion, which of the following statements is WRONG?
(A)Recursion is more powerful than iteration. That is, a problem can be solved by a recursive function may not be solvable by an iteration function
(B)A recursive function must contain two properties, a simple base case(s) and a recursive step
(C)The appropriate data structure for implementing recursive functions is stack
(D)The main advantage of recursion is usually the simplicity of instructions

答案:登入後查看
統計: A(10), B(4), C(1), D(5), E(0) #2927236

詳解 (共 1 筆)

#5489352
在計算機科學中,遞迴函數是由自身定義的函...
(共 295 字,隱藏中)
前往觀看
1
0