2016年9月16日

104. Maximum Depth of Binary Tree

摘要: 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 the farthest l 阅读全文

posted @ 2016-09-16 18:51 三颗心 阅读(157) 评论(0) 推荐(0) 编辑

92. Reverse Linked List II

摘要: Reverse a linked list from position m to n. Do it in-place and in one-pass. For example:Given 1->2->3->4->5->NULL, m = 2 and n = 4, return 1->4->3->2- 阅读全文

posted @ 2016-09-16 15:27 三颗心 阅读(235) 评论(0) 推荐(0) 编辑

导航