clone/ copy a binary tree

 我自己写过的是用的bfs, iterative way。 闫老师说 recursive 也可以试试 

猜你喜欢

转载自www.cnblogs.com/tobeabetterpig/p/9458364.html