摘要:
链表反转,一发成功~ 阅读全文
posted @ 2018-01-17 10:32
Sherry_Yang
阅读(94)
评论(0)
推荐(0)
摘要:
求二叉树的最小深度: 阅读全文
posted @ 2018-01-17 10:13
Sherry_Yang
阅读(125)
评论(0)
推荐(0)
摘要:
求二叉树的最大深度 非递归写法1(直接摘自其他博客): 非递归写法2(直接摘自其他博客): 阅读全文
posted @ 2018-01-17 09:53
Sherry_Yang
阅读(163)
评论(0)
推荐(0)
摘要:
判断二叉树是否平衡 a height-balanced binary tree is defined as a binary tree in which the depth of the two subtrees of every node never differ by more than 1. 阅读全文
posted @ 2018-01-17 09:45
Sherry_Yang
阅读(128)
评论(0)
推荐(0)
摘要:
下面是非递归的一种写法:(可以说是很漂亮了) 阅读全文
posted @ 2018-01-17 09:26
Sherry_Yang
阅读(152)
评论(0)
推荐(0)

浙公网安备 33010602011771号