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

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

Can someone please give a detailed solution for the below problem as I am not able to understand the editorial. Problem

Also please use dp[l][r] as the minimum operation required to achieve the task. Link to Similar Problems would be appreciated

Теги help, dp
  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится

»
3 года назад, # |
  Проголосовать: нравится +11 Проголосовать: не нравится

Can't help you out there, but maybe since your rank is ~1500, you should solve some little bit easier problems than 2700 in difficulty

»
3 года назад, # |
  Проголосовать: нравится +9 Проголосовать: не нравится

If you don't understand the editorial, I think that it is a good sign that the problem is too hard and you should return to it later. Solving problems out of your comfort zone is good, but if it is so hard that you can't even understand the solution when given it, then you are probably just wasting your time.