摘要: 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 @ 2017-06-11 23:24 安新 阅读(203) 评论(0) 推荐(0) 编辑
摘要: Recently I transit to use scala to program. scala is a functional and objected oriented language, but it has seamless java Interoperability (they both 阅读全文
posted @ 2017-06-11 08:26 安新 阅读(201) 评论(0) 推荐(0) 编辑