摘要: import java.util.* class Solution { fun minDepth(root: TreeNode?): Int { if (root == null) { return 0 } var depth = 0 //LinkedList实现了Queue接口,可以用作队列使用 阅读全文
posted @ 2020-04-16 14:43 johnny_zhao 阅读(186) 评论(0) 推荐(0) 编辑