ALogB's blog

By ALogB, history, 14 months ago, In English

I am solving this problem got the greedy solution but interested to solve this via dp as well can someone explain the dp solution in more better way than editorial ( i am unsatisfied with editorial).

Problem Link ->

  • Vote: I like it
  • 0
  • Vote: I do not like it