
树
Fly_TheWind
这个作者很懒,什么都没留下…
展开
-
剑指Offer:树的子结构
/** public class TreeNode { int val = 0; TreeNode left = null; TreeNode right = null; public TreeNode(int val) { this.val = val; } } */ public class Solution { publi原创 2016-05-27 16:52:48 · 365 阅读 · 0 评论 -
leetcode minimum-depth-of-binary-tree
题目描述 Given a binary tree, find its minimum depth.The minimum depth is the number of nodes along the shortest path from the root node down to the nearest leaf node. import java.util.*; public cla原创 2016-05-30 18:32:46 · 433 阅读 · 0 评论 -
小米Git
题目地址:http://www.nowcoder.com/practice/e9ff41269a7e49519b87fe7d9fd0d477?tpId=49&tqId=29231&rp=1&ru=/ta/2016test&qru=/ta/2016test/question-ranking 题目描述 git是一种分布式代码管理工具,git通过树的形式记录文件的更改历史,比如: base'原创 2016-08-08 09:10:06 · 678 阅读 · 2 评论