![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Algorithm
文章平均质量分 78
du5l5ljason
这个作者很懒,什么都没留下…
展开
-
LeetCode题目笔记(二) -- Maximum Depth of Binary Tree
2. Problem: Maximum Depth of Binary TreeProblem Description: Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the root node down to原创 2013-04-16 13:33:02 · 780 阅读 · 0 评论 -
LeetCode题目笔记(三) -- Median of Two Sorted Arrays
Problem: Median of Two Sorted Arrays (979/5373 -- 18%)Problem Description:There are two sorted arrays A and B of size m and n respectively. Find the median of the two sorted arrays. The overall r原创 2013-04-16 15:16:04 · 757 阅读 · 0 评论 -
LeetCode题目笔记(一) -- Minimum Depth Of Binary Tree
写博客,并且持续维护博客,是一件耗时费力的差事。但是,但凡耗时费力的差事,总有难得的收获。最近发现leetCode这个网站,很适合找码工工作的朋友,练习interview过程中的算法题。可以在这个网站提供的online console里面写代码(Java /C++), 然后如果通过他们的judge的话,我会通过SourceTree这个软件把代码上传到gitHub https://github.co原创 2013-04-16 13:01:12 · 991 阅读 · 0 评论 -
LeetCode题目笔记(四) -- Check if a binary tree is balanced
Problem: Check if a binary tree is balanced.Problem Description: Given a binary tree, determine if it is height-balanced.For this problem, a height-balanced binary tree is defined as a binary tre原创 2013-04-30 07:20:18 · 584 阅读 · 0 评论