发布时间:2015-07-30 16:41:05
<p style="box-sizing:border-box;margin-top:0px;margin-bottom:10px;color:#333333;font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:14px;line-height:30px;white-space:normal;background-color:#FFFFFF;">PermutationsII<br />Given a collection of numbers that might contain duplicates,.........【阅读全文】
发布时间:2015-07-13 21:27:03
/Maximum Subarray Total Accepted: 63692 Total Submissions: 184929 My Submissions Question Solution <br />//Find the contiguous subarray within an array (containing at least one number) which has the largest sum.<br />//<br />//For example, given the array [?2,1,?3,4,?1,2,1,?5,4],<br />/.........【阅读全文】
发布时间:2015-07-07 20:58:16
//Multiply Strings Total Accepted: 33986 Total Submissions: 161757 My Submissions Question Solution <br />//Given two numbers represented as strings, return multiplication of the numbers as a string.<br />//<br />//Note: The numbers can be arbitrarily large and are non-negative.<br />public.........【阅读全文】
发布时间:2015-07-07 17:09:21
在刷leetcode的过程中 从jdk1.8换到了jdk1.7后发现两个文件报错了<br />一个是java8增加了map中的<span style="color:#191919;font-family:微软雅黑, Verdana, sans-serif, 宋体;font-size:14px;line-height:22px;white-space:normal;background-color:#FBFBFB;">getOrDefault(Object,V),putIfAbsent(K,V),remove(Object,.........【阅读全文】
发布时间:2015-07-07 15:00:43
//Given s1, s2, s3, find whether s3 is formed by the interleaving of s1 and s2.<br />//<br />//For example,<br />//Given:<br />//s1 = "aabcc",<br />//s2 = "dbbca",<br />//<br />//When s3 = "aadbbcbcac", return true.<br />//When s3 = "aadbbbaccc", return false.<br />public class Interleaving.........【阅读全文】