摘要: Problem statement: Given a list of non-negative numbers and a target integer k, write a function to check if the array has a continuous subarray of si 阅读全文
posted @ 2017-05-19 11:43 蓝色地中海 阅读(258) 评论(0) 推荐(0)
摘要: Problem statement: Given two non-negative integers num1 and num2 represented as strings, return the product of num1 and num2. Note: Solution: This pro 阅读全文
posted @ 2017-05-19 10:01 蓝色地中海 阅读(124) 评论(0) 推荐(0)
摘要: Problem statement: Given an array of n positive integers and a positive integer s, find the minimal length of a contiguous subarray of which the sum ≥ 阅读全文
posted @ 2017-05-19 03:14 蓝色地中海 阅读(134) 评论(0) 推荐(0)
摘要: Problem statement: Find the contiguous subarray within an array (containing at least one number) which has the largest product. For example, given the 阅读全文
posted @ 2017-05-19 02:42 蓝色地中海 阅读(132) 评论(0) 推荐(0)