JasonChang

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2013年11月26日

摘要: 1 /** 2 * Definition for binary tree 3 * public class TreeNode { 4 * int val; 5 * TreeNode left; 6 * TreeNode right; 7 * TreeNode(int x) { val = x; } 8 * } 9 */10 public class Solution {11 public int minDepth(TreeNode root) {12 // IMPORTANT: Please reset any memb... 阅读全文
posted @ 2013-11-26 06:45 JasonChang 阅读(172) 评论(0) 推荐(0) 编辑