Skip to content
RED SAG Skills
hardStudy question · answer published in Data Structures and Algorithms interview questions, so no pointsdynamic-programmingmemoizationperformance

A memo cache in a long-running server

A Node.js API memoises a pricing function in a module-level Map keyed by request parameters. After a few days, memory keeps climbing. What is the right fix?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions