Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8295469
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T14:36:09+00:00 2026-06-08T14:36:09+00:00

Before I get started, no this isn’t a question asking what the different between

  • 0

Before I get started, no this isn’t a question asking what the different between memoization and dynamic programming nor which one is better, but just a simple question asking about a minor difference between the way that they handle cached lookups.

DP uses a bottom-up approach while memoization uses a top-down. So with DP you start out by building a table of cached calculations and then feeding those cached values to bigger calculations to avoid redundant recursive or iterative function calls. Memoization is more or less just caching each function call’s result into a hash or an array (probably an array) and then providing the result within the function call (it just skips anything that happens within the body of the function).

My question is that I am correct with what I am stating here? Both approaches look similar only DP is harder and slightly more efficient with memory compared to memoization. With memoization your program still has to fire off each function call even if it is cached and each and every one of these function calls can quickly feed up the stack, whereas in DP it would check the array table within the function and only calling the recursive/iterative function if its not found.

Am I correct here? Or am I missing something?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T14:36:11+00:00Added an answer on June 8, 2026 at 2:36 pm

    Well, I think you’re basically making too restrictive a definition of “memoization”, which is really just any technique of storing previously computed results rather than recomputing them. So a Fibonacci calculation that stores all the results up to a previous high n is memoizing, but so is a DP algorithm that stores previously computed subproblems.

    (See the Wikipedia article.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am risking this question being closed before i get an answer, but i
Before you all get pissy about me posting this question again, let me explain
I know this has been asked before ( Get Absolute Position of element within
Before I get anywhere with this post, let me make this clear, there is
This is probably a stupid question but my googling isn't finding a satisfactory answer.
I know this question has been asked and answered before, but none of the
Before I get started on a very large project for creating audiovisual presentations in
Ok, before I get a ton of responses. I know you cannot talk to
Right, before we get off about merged cells, I hate them too, but I've
I need some help, and before we get going, I know it is probably

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.