ObjectiveMcq
Print Protected
This page is protected for print. Use the website to view the content.
Which technique is used by line 7 of the above code?
Correct Answer: C — Memoization
Line 7 stores the current value that is calculated, so that the value can be used later directly without calculating it from scratch. This is memoization.