摘要:
Description There are n items and a backpack with size m. Given array A representing the size of each item and array V representing the value of each 阅读全文
posted @ 2019-12-21 21:43
YuriFLAG
阅读(283)
评论(0)
推荐(0)
摘要:
Description Description There is a stone game.At the beginning of the game the player picks n piles of stones in a line. The goal is to merge the ston 阅读全文
posted @ 2019-12-21 21:40
YuriFLAG
阅读(304)
评论(0)
推荐(0)
摘要:
Description Description There is a stone game.At the beginning of the game the player picks n piles of stones in a circle. The goal is to merge the st 阅读全文
posted @ 2019-12-21 21:39
YuriFLAG
阅读(272)
评论(0)
推荐(0)
摘要:
Description Description There are n coins in a line, and value of i-th coin is values[i]. Two players take turns to take a coin from one of the ends o 阅读全文
posted @ 2019-12-21 21:37
YuriFLAG
阅读(167)
评论(0)
推荐(0)
摘要:
Description Description There are n houses on a line. Given an array A and A[i] represents the position of i-th house. Now you need to pick k position 阅读全文
posted @ 2019-12-21 21:32
YuriFLAG
阅读(363)
评论(0)
推荐(0)
摘要:
Description Given an array prices and the i-th element of it represents the price of a stock on the i-th day. You may complete at most k transactions. 阅读全文
posted @ 2019-12-21 21:30
YuriFLAG
阅读(263)
评论(0)
推荐(0)
摘要:
Description Description Given a string, find length of the longest repeating subsequence such that the two subsequence don’t have same string characte 阅读全文
posted @ 2019-12-21 21:28
YuriFLAG
阅读(193)
评论(0)
推荐(0)
摘要:
Description Description Given a 2D binary matrix filled with 0's and 1's, find the largest square which diagonal is all 1 and others is 0. Only consid 阅读全文
posted @ 2019-12-21 21:27
YuriFLAG
阅读(195)
评论(0)
推荐(0)
摘要:
Description Description Given an integer matrix. Find the longest increasing continuous subsequence in this matrix and return the length of it. The lo 阅读全文
posted @ 2019-12-21 21:26
YuriFLAG
阅读(213)
评论(0)
推荐(0)
摘要:
Description Given a string s1, we may represent it as a binary tree by partitioning it to two non-empty substrings recursively. Below is one possible 阅读全文
posted @ 2019-12-21 21:24
YuriFLAG
阅读(169)
评论(0)
推荐(0)

浙公网安备 33010602011771号