Rating changes for last rounds are temporarily rolled back. They will be returned soon. ×

Akhilanand0011's blog

By Akhilanand0011, history, 3 years ago, In English

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 —

  • Vote: I like it
  • -6
  • Vote: I do not like it

| Write comment?