最新回答 / 慕先生51210
function Bin() {var Node = function (key) {this.key = key;this.left = null;this.right = null;};var root = null;var insertNode = function (node, newNode) {if (newNode.key < node.key) {if (node.key === null) { //此处node.key改为node.leftnode.l...
2018-08-26