实现 借助队列实现 function Treenum) { this.num = num this.subs = [] } Tree.prototype.add = function item) { … Continue reading js层序遍历多叉树
实现 借助队列实现 function Treenum) { this.num = num this.subs = [] } Tree.prototype.add = function item) { … Continue reading js层序遍历多叉树