摘要:
Given an integer, return its base 7 string representation.Example 1:Input: 100 Output: "202" Example 2:Input: -7 Output: "-10" Note: The input will be in range of [-1e7, 1e7].public class Solution { ... 阅读全文
posted @ 2017-02-13 23:06
xiejunzhao
阅读(359)
评论(0)
推荐(0)
摘要:
Find the contiguous subarray within an array (containing at least one number) which has the largest sum.For example, given the array [-2,1,-3,4,-1,2,1,-5,4],the contiguous subarray [4,-1,2,1] has the ... 阅读全文
posted @ 2017-02-13 22:39
xiejunzhao
阅读(133)
评论(0)
推荐(0)

浙公网安备 33010602011771号