const testInvert = () => { const a = new Tree('a') const b = new Tree('b') const c = new Tree('c') const d = new Tree('d') const e = new Tree('e') const f = new Tree('f') const g = new Tree('g')
a.left = b a.right = c b.left = d b.right = e c.left = f c.right = g
近期评论