深度优先遍历第8遍

在这里插入图片描述
第8遍:用stack的top,pop时漏掉了判空

猜你喜欢

转载自blog.csdn.net/qq_40200779/article/details/84989707