Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Python by (55.6k points)
I am really confused about the difference between normal programming and dynamic programming. Can anyone explain it in a simple way?

1 Answer

0 votes
by (119k points)
edited by

Dynamics Dynamic programming is nothing but an optimization technique. In programming languages like C, Python while coding, we divide the big problem into smaller problems and into sub smaller problems. If these sub smaller problems are redundant then better to get back to already solved subproblems. It would save the number of computations and make our code efficient. Especially, when we have machines with less computational power. 

You can learn more about dynamic programming from this below video:

Related questions

0 votes
1 answer
0 votes
1 answer
asked Mar 2, 2020 in Python by Sudhir_1997 (55.6k points)
0 votes
1 answer
asked Mar 2, 2020 in Python by Sudhir_1997 (55.6k points)
0 votes
1 answer
0 votes
1 answer
asked Feb 17, 2020 in Java by angadmishra (6.5k points)

Browse Categories

...