发布时间: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.........【阅读全文】
发布时间:2015-07-07 11:42:36
//Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining.<br />//<br />//For example, <br />//Given [0,1,0,2,1,0,1,3,2,1,2,1], return 6.<br />import java.util.ArrayList;<br /><br /><br />import.........【阅读全文】
发布时间:2015-06-30 20:47:01
//First Missing Positive Total Accepted: 39228 Total Submissions: 171561 My Submissions Question Solution <br />//Given an unsorted integer array, find the first missing positive integer.<br />//<br />//For example,<br />//Given [1,2,0] return 3,<br />//and [3,4,-1,1] return 2.<br />//<br.........【阅读全文】