注册一亩三分地论坛,查看更多干货!
您需要 登录 才可以下载或查看附件。没有帐号?注册账号 
x
Compare two trees.
A tree can have multiple childs and a several attributes.
Return the key of not completely equal nodes.
Example,
Tree 1
A [ true, 1 ]
B C D E
[ true, 2] [false, 3] [true, 4] [false, 5]
\
F [ true, 6 ]
Tree 2
A [ true, 1 ]
B C D E
[ true, 2] [false, 6] [false, 4] [false, 5]
Return:
C D F
Explain:
|