码迷,mamicode.com
首页 >  
搜索关键字:given n integers    ( 24278个结果
Backpack III
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
Distinct Subsequences
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
pta 1007 Maximum Subsequence Sum (25分)
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
K Edit Distance
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
Backpack
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
Longest Increasing Subsequence
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
Maximal Square
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
Combination Sum IV
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
Edit Distance
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
Longest Common Subsequence
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
24278条   上一页 1 ... 98 99 100 101 102 ... 2428 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!