摘要:
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 @ 2018-03-20 02:30
轻风舞动
阅读(841)
评论(0)
推荐(0)
摘要:
If the depth of a tree is smaller than 5, then this tree can be represented by a list of three-digits integers. For each integer in this list: Given a 阅读全文
posted @ 2018-03-20 02:00
轻风舞动
阅读(717)
评论(0)
推荐(0)

浙公网安备 33010602011771号