Ankit_12's blog

By Ankit_12, history, 3 years ago, In English

Hello Everyone I have a question related to Dynamic Programming. Whenever you are trying to solve DP question in the ongoing contest you first think recursive or you directly write the code in tabulation format.

  • Vote: I like it
  • +1
  • Vote: I do not like it

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

In the ongoing contest you should do your best, thus use recursive if you are used to it more than the iterative (or vice versa). When you practice, solve problems in both iterative and recursive ways, it will only increase your algorithmic skills.