Щракнете върху A little bit of classics: dynamic programming over subsets and paths in graphs, за да отворите ресурса.