Blog

Your dream job? Lets Git IT.
Interactive technical interview preparation platform designed for modern developers.

XGitHub

Platform

  • Categories

Resources

  • Blog
  • About the app
  • FAQ
  • Feedback

Legal

  • Privacy Policy
  • Terms of Service

© 2025 LetsGit.IT. All rights reserved.

LetsGit.IT/Categories/Algorithms
Algorithmshard

What is Dynamic Programming?

Tags
#dynamic-programming#optimization#memoization
Back to categoryPractice quiz

Answer

Dynamic programming solves a problem by solving smaller subproblems and saving their results so you don’t recompute them. Use it when subproblems overlap and the best solution can be built from best sub‑solutions (memoization/top‑down or a bottom‑up table).

Related questions

Algorithms
Binary search on answer (parametric search): when is it applicable?
#binary-search#parametric-search#monotonic
Algorithms
What does the Floyd–Warshall algorithm compute and what is its complexity?
#graphs#shortest-path#floyd-warshall
Algorithms
Top-down vs bottom-up dynamic programming — what’s the difference?
#dynamic-programming#memoization#tabulation
Algorithms
What is memoization and when does it help?
#memoization#dynamic-programming#cache
Algorithms
What does Kadane’s algorithm solve?
#kadane#dynamic-programming#array
Algorithms
Greedy vs dynamic programming — what’s the key difference?
#greedy#dynamic-programming#optimization