Dynamic Programming Solvable Problem

来源:互联网 发布:java程序员常用的软件 编辑:程序博客网 时间:2024/05/24 06:56

1. Knapsack, n items, put into size W bag, maximize the item value in the bag


1.1 n items put into 2 bag, bag size as W1, and W2


1.2 select at most k item from n, put them in the bag size of W, maximize the item value in the bag


1.3 n items put into bag size of W, maximize the item value with total weight exactly as W.  Tell if such item combination exist or not


1. Common Subsequence

1.1 POJ common subsequence, and compromise problem

原创粉丝点击