摘要: Problem:Design an algorithm to encodea list of stringstoa string. The encoded string is then sent over the network and is decoded back to the original... 阅读全文
posted @ 2015-09-11 07:29 airforce 阅读(776) 评论(0) 推荐(0) 编辑
摘要: Problem: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 ... 阅读全文
posted @ 2015-09-11 02:04 airforce 阅读(284) 评论(0) 推荐(0) 编辑