Three paths from top left to bottom right?

Правка en2, от Mhammad1, 2015-09-04 14:32:35

Hello everyone

The problem:

Given 2d array with numbers inside each cell, you should maximize the cost to get from top left (1,1) to bottom right (N,M) with three paths, When you pass to cell(i,j) the cost inside it will be removed for the next paths.

You're only allowed to move down or right.

How can I solve something like this?

I've read the tutorial here TopCoder Tutorial but I didn't understand the whole concept.

Теги dynamic programming, optimization, paths

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский Mhammad1 2015-09-04 14:32:35 5
en1 Английский Mhammad1 2015-09-04 14:31:44 627 Initial revision (published)