摘要: 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-07-13 15:46 LiBlog 阅读(231) 评论(0) 推荐(0) 编辑
摘要: You are given an array x of n positive numbers. You start at point (0,0) and moves x[0] metres to the north, then x[1] metres to the west, x[2] metres 阅读全文
posted @ 2016-07-13 14:49 LiBlog 阅读(136) 评论(0) 推荐(0) 编辑