摘要: Given two numbers represented as strings, return multiplication of the numbers as a string.Note: The numbers can be arbitrarily large and are non-negative.Have you been asked this question in an interview?public class Solution { public String multiply(String num1, String num2) { int len1 =... 阅读全文
posted @ 2014-03-19 23:58 Averill Zheng 阅读(131) 评论(0) 推荐(0) 编辑
摘要: Given a collection of candidate numbers (C) and a target number (T), find all unique combinations inCwhere the candidate numbers sums toT.Each number ... 阅读全文
posted @ 2014-03-19 15:09 Averill Zheng 阅读(169) 评论(0) 推荐(0) 编辑
摘要: Givennnon-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in the histog... 阅读全文
posted @ 2014-03-19 06:38 Averill Zheng 阅读(149) 评论(0) 推荐(0) 编辑