Блог пользователя Akhilanand0011

Автор Akhilanand0011, история, 3 года назад, По-английски

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 —

  • Проголосовать: нравится
  • -6
  • Проголосовать: не нравится