摘要: Description:Implement an iterator over a binary search tree (BST). Your iterator will be initialized with the root node of a BST.Calling next() will r... 阅读全文
posted @ 2015-06-28 23:54 Pickle 阅读(200) 评论(0) 推荐(0) 编辑
摘要: Description:Given a sorted array of integers, find the starting and ending position of a given target value.Your algorithm's runtime complexity must b... 阅读全文
posted @ 2015-06-28 00:47 Pickle 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 超时了,只能先这么干了。return Math.pow(x, n); 阅读全文
posted @ 2015-06-28 00:16 Pickle 阅读(134) 评论(0) 推荐(0) 编辑