摘要: 题目:Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in... 阅读全文
posted @ 2014-10-25 21:57 StevenCooks 阅读(112) 评论(0) 推荐(0) 编辑
摘要: 题目:Given an arraySofnintegers, find three integers inSsuch that the sum is closest to a given number, target. Return the sum of the three integers. Yo... 阅读全文
posted @ 2014-10-24 10:57 StevenCooks 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 我在Github上新建了一个解答Leetcode问题的Project,大家可以参考, 目前是Java 为主,里面有leetcode上的题目,解答,还有一些基本的单元测试,方便大家起步。今天又舔着脸开始LeetCode的征程了,本来是写在CSDN的,无奈遇上他家博客老是在升级中。。。题目:Given ... 阅读全文
posted @ 2014-10-23 23:24 StevenCooks 阅读(342) 评论(0) 推荐(0) 编辑