
LCS(最长公共子序)
阿阿阿黄
后续文章更新:https://segmentfault.com/u/aaahuang
展开
-
LCS
Hdu--PalindromeProblem DescriptionA palindrome is a symmetrical string, that is, a string read identically from left to right as well as from right to left. You are to write a program which, giv转载 2015-08-10 21:23:38 · 351 阅读 · 0 评论 -
生日礼物(京东2016实习生真题)
题目链接:http://exercise.acmcoder.com/online/online_judge_ques?ques_id=3816&konwledgeId=41考点:最长单调递增子序列解题思路:这道题有两个限制条件w,h。可能出现的情况:w小h大,w大h小。解题思路:1.首先去除不满足条件的信封注意:两个信封之间w和h中只要有其中一个相等,就不可以套装。2.对满原创 2017-04-19 17:30:11 · 1071 阅读 · 0 评论