摘要: Given a non-empty binary search tree and a target value, find the value in the BST that is closest to the target. Note: Given target value is a floati 阅读全文
posted @ 2016-03-31 12:35 Joyce-Lee 阅读(449) 评论(0) 推荐(0) 编辑
摘要: You are a product manager and currently leading a team to develop a new product. Unfortunately, the latest version of your product fails the quality c 阅读全文
posted @ 2016-03-31 12:24 Joyce-Lee 阅读(163) 评论(0) 推荐(0) 编辑
摘要: An image is represented by a binary matrix with 0 as a white pixel and 1 as a black pixel. The black pixels are connected, i.e., there is only one bla 阅读全文
posted @ 2016-03-31 12:13 Joyce-Lee 阅读(159) 评论(0) 推荐(0) 编辑