問題詳情

27. Which of the following about recursion is TRUE?
(A)We should always replace iterations with recursions if possible
(B) Recursion usually uses less memory than iteration as the code is more concise and clearer
(C)Recursion usually has higher algorithm performance
(D) Any problems that can be solved by recursions can also be solved by iterations

參考答案

答案:[無官方正解]
難度:計算中-1
書單:沒有書單,新增