摘要:
local stack = {} stack.__index = stack function stack:new() local temp = {} setmetatable(temp,stack) stack:init() return temp end function stack:init( 阅读全文
摘要:
function visitNode(data) print(data) end function Inorder(node) if node.left then node.left:traversal() end visitNode(node.data) if node.right then node.right:tra... 阅读全文