摘要: def pre_order_stack(self,root): #堆栈实现前序遍历(非递归) if not root: return myStack = [] node = root while myStack or node: while node: #从... 阅读全文