摘要:
Given a binary tree, return the inorder traversal of its nodes' values. For example:Given binary tree [1,null,2,3], return [1,3,2]. Note: Recursive so 阅读全文
posted @ 2016-06-23 10:48
Miller1991
阅读(130)
评论(0)
推荐(0)
摘要:
Given a binary search tree, write a function kthSmallest to find the kth smallest element in it. Note: You may assume k is always valid, 1 ≤ k ≤ BST's 阅读全文
posted @ 2016-06-23 10:09
Miller1991
阅读(181)
评论(0)
推荐(0)
摘要:
Given a singly linked list, group all odd nodes together followed by the even nodes. Please note here we are talking about the node number and not the 阅读全文
posted @ 2016-06-23 09:52
Miller1991
阅读(180)
评论(0)
推荐(0)

浙公网安备 33010602011771号