一般情况下,将递归算法转换成等价的非递归算法应该设置()


一般情况下,将递归算法转换成等价的非递归算法应该设置()

A.栈

B.栈或队列

C.队列

D.数组

正确答案:栈


Tag:数据结构 递归 队列 时间:2023-12-24 11:07:50