摘要:
Given an array of words and a length L, format the text such that each line has exactly L characters and is fully (left and right) justified.You shoul... 阅读全文
posted @ 2015-05-16 18:29
TonyLuis
阅读(219)
评论(0)
推荐(0)
摘要:
Given two binary strings, return their sum (also a binary string). For example,a = "11"b = "1"Return "100".解题思路:JAVA实现如下:static public String addBinar... 阅读全文
posted @ 2015-05-16 11:56
TonyLuis
阅读(137)
评论(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 at... 阅读全文
posted @ 2015-05-16 11:08
TonyLuis
阅读(138)
评论(0)
推荐(0)
摘要:
Validate if a given string is numeric. Some examples:"0" => true" 0.1 " => true"abc" => false"1 a" => false"2e10" => trueNote: It is intended for t... 阅读全文
posted @ 2015-05-16 10:56
TonyLuis
阅读(231)
评论(0)
推荐(0)
摘要:
Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its path.N... 阅读全文
posted @ 2015-05-16 10:19
TonyLuis
阅读(120)
评论(0)
推荐(0)

浙公网安备 33010602011771号