摘要: Description Farmer John wants to repair a small length of the fence around the pasture. He measures the fence and finds that he needs N (1 ≤ N ≤ 20,00 阅读全文
posted @ 2016-08-20 23:53 Jason杰 阅读(223) 评论(0) 推荐(0)
摘要: Description A group of cows grabbed a truck and ventured on an expedition deep into the jungle. Being rather poor drivers, the cows unfortunately mana 阅读全文
posted @ 2016-08-20 20:29 Jason杰 阅读(293) 评论(0) 推荐(0)
摘要: Description People in Silverland use coins.They have coins of value A1,A2,A3...An Silverland dollar.One day Tony opened his money-box and found there 阅读全文
posted @ 2016-08-20 12:25 Jason杰 阅读(289) 评论(0) 推荐(0)
摘要: 给定两个字符串,求它们最长公共子序列的长度。 例如: s = "abcd", t = "becd" 输出3("bcd") 利用动态规划求解 阅读全文
posted @ 2016-08-20 09:58 Jason杰 阅读(189) 评论(0) 推荐(0)