摘要: For example, given array S = {-1 2 1 -4}, and target = 1.The sum that is closest to the target is 2. (-1 + 2 + 1 = 2).想来想去想不到什么好的解决方法,只好用最原始的方法,把所有可能的... 阅读全文
posted @ 2014-10-13 12:44 clq.lib 阅读(155) 评论(0) 推荐(0) 编辑