摘要:
我在Github上新建了一个解答Leetcode问题的Project,大家可以参考, 目前是Java 为主,里面有leetcode上的题目,解答,还有一些基本的单元测试,方便大家起步。题目:Given two sorted integer arrays A and B, merge B into A... 阅读全文
posted @ 2014-10-25 23:45
StevenCooks
阅读(812)
评论(0)
推荐(0)
摘要:
题目:Given an array and a value, remove all instances of that value in place and return the new length.The order of elements can be changed. It doesn't ... 阅读全文
posted @ 2014-10-25 22:35
StevenCooks
阅读(175)
评论(0)
推荐(0)
摘要:
题目:Given a sorted array, remove the duplicates in place such that each element appear onlyonceand return the new length.Do not allocate extra space fo... 阅读全文
posted @ 2014-10-25 22:19
StevenCooks
阅读(142)
评论(0)
推荐(0)
摘要:
题目:Given a non-negative number represented as an array of digits, plus one to the number.The digits are stored such that the most significant digit is... 阅读全文
posted @ 2014-10-25 22:05
StevenCooks
阅读(145)
评论(0)
推荐(0)
摘要:
题目: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
阅读(116)
评论(0)
推荐(0)
浙公网安备 33010602011771号