isthislove's blog

By isthislove, history, 6 years ago, In English

which is the best and most useful DP approach ? which I should practice as the bottom-up is hard for me to implement !!!

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

| Write comment?
»
6 years ago, # |
  Vote: I like it +12 Vote: I do not like it

bottom-up is hard for me to implement

Then just do top-down until you get good at DP ¯\_(ツ)_/¯ That's what I did, actually, as it was awkward for me to do base cases bottom up. Though once you wrap your head around it you realize it's all, in fact, the same.