摘要: 1 class Solution { 2 public: 3 int minDepth(TreeNode* root) { 4 if(root == NULL) return 0; 5 if(root->left == NULL || root->right == NULL) return 1 + 阅读全文
posted @ 2016-02-23 23:09 co0oder 阅读(111) 评论(0) 推荐(0) 编辑