C
文章平均质量分 58
L丶K丶
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
[LeetCode] [C] 48. Rotate Image
Looking at the input matrix and the output matrix, we can easily find that it rotates 90° clockwise. And I implement that by rotating every "circle" of it. First I rotate the outmost circle,原创 2017-11-28 16:15:32 · 230 阅读 · 0 评论 -
[LeetCode] [C] 100. Same Tree
To solve the problem about Binary Tree, I still used Recursive Method. Here, I still wrote another function to help traverse. And I still declared the variable outside the two functions. S原创 2017-11-21 22:59:42 · 290 阅读 · 0 评论 -
[LeetCode] [C] 104. Maximum Depth of Binary Tree
Talking about Binary Tree, I will often think of Recursion. To traverse the binary tree, I always use Recursive Method. So here, to find the maximum depth of binary tree, I wrote another fu原创 2017-11-21 22:44:31 · 277 阅读 · 0 评论 -
[LeetCode] [C] 41. First Missing Positive
In this program, I used Bubble Sort to sort the array first. Then, I declared a variable "count" to represent the First Missing Positive Integer. (Because the way I used it is similar to when I am原创 2017-11-21 23:44:39 · 245 阅读 · 0 评论
分享