关于树myTree=['a',['b',['d',[],[]],['e',[],[]]],['c',['f',[],[]],[]]]的说法,何者正确?
关于树myTree=['a',['b',['d',[],[]],['e',[],[]]],['c',['f',[],[]],[]]]的说法,何者正确?
A.左子树是['b',['d',[],[]],['e',[],[]]]
B.左子树的根是'b'
C.右子树是['c',['f',[],[]],[]]
D.右子树的根是'e'
正确答案:左子树是['b',['d',[],[]],['e',[],[]]];左子树的根是'b';右子树是['c',['f',[],[]],[]]