Description Given n kinds of items, and each kind of item has an infinite number available. The i-th item has size A[i] and value V[i]. Also given a b ...
分类:
其他好文 时间:
2019-12-21 22:49:05
阅读次数:
83
Description Description Given two strings S and T. Count the number of distinct subsequences of S which equals T. A subsequence of a string is a new s ...
分类:
其他好文 时间:
2019-12-21 22:46:20
阅读次数:
101
Given a sequence of K integers { N?1??, N?2??, ..., N?K?? }. A continuous subsequence is defined to be { N?i??, N?i+1??, ..., N?j?? } where 1. The Max ...
分类:
其他好文 时间:
2019-12-21 22:45:36
阅读次数:
72
Description Description Given a set of strings which just has lower case letters and a target string, output all the strings for each the edit distanc ...
分类:
其他好文 时间:
2019-12-21 22:45:17
阅读次数:
83
Description Given n items with size Ai, an integer m denotes the size of a backpack. How full you can fill this backpack? Description Description Give ...
分类:
其他好文 时间:
2019-12-21 22:43:49
阅读次数:
92
Description Description Given a sequence of integers, find the longest increasing subsequence (LIS). You code should return the length of the LIS. Cla ...
分类:
其他好文 时间:
2019-12-21 22:42:03
阅读次数:
92
Description Description Given a 2D binary matrix filled with 0's and 1's, find the largest square containing all 1's and return its area. Example Exam ...
分类:
其他好文 时间:
2019-12-21 22:34:38
阅读次数:
87
Description Given an integer array nums with all positive numbers and no duplicates, find the number of possible combinations that add up to a positiv ...
分类:
其他好文 时间:
2019-12-21 22:30:21
阅读次数:
119
Description Description Given two words word1 and word2, find the minimum number of steps required to convert word1 to word2. (each operation is count ...
分类:
其他好文 时间:
2019-12-21 22:27:54
阅读次数:
111
Description Description Given two strings, find the longest common subsequence (LCS). Your code should return the length of LCS. Clarification What's ...
分类:
其他好文 时间:
2019-12-21 22:27:26
阅读次数:
80