β
Correct Answer: (B)
decreases the time complexity and increases the space complexity
Explanation: the top-down approach uses the memoization technique which stores the previously calculated values. due to this, the time complexity is decreased but the space complexity is increased.
Explanation by: Mr. Dubey
the top-down approach uses the memoization technique which stores the previously calculated values. due to this, the time complexity is decreased but the space complexity is increased.
Discussion
Question Analytics
622
Total Visits
3 y ago
Published
Mr. Dubey
Publisher
92%
Success Rate