04 2017 档案
摘要:Given an array of integers and an integer k, you need to find the total number of continuous subarrays whose sum equals to k. 示例: Note: 题解: 看着题目的注意事项就
阅读全文
摘要:题目: Given a positive integer n, break it into the sum of at least two positive integers and maximize the product of those integers. Return the maximum
阅读全文
摘要:本周继续练习动态规划的相关题目。 题目: In the computer world, use restricted resource you have to generate maximum benefit is what we always want to pursue. For now, su
阅读全文
摘要:本周课堂上学习的是动态规划,因此在LeetCode上找到相应的题进行练习。 题目: Given a string s, find the longest palindromic subsequence's length in s. You may assume that the maximum le
阅读全文
浙公网安备 33010602011771号