Leetcode DP problem

Правка en1, от Akhilanand0011, 2020-12-28 15:33:21

i was trying to solve this DP problem … i guessed the state … dp[i][j]-> minimum cost when our first finger is at index I and second finger is at index j… i am not getting how to write the relation with previous state?? can anyone help plzzzzzz???

problem link —

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Akhilanand0011 2020-12-28 15:33:21 375 Initial revision (published)