Question: What is the space complexity of the dynamic programming solution for the Longest Increasing Subsequence problem?
Options:
Correct Answer: O(n^2)
Solution:
The space complexity of the dynamic programming solution for the Longest Increasing Subsequence problem is O(n) due to the storage of intermediate results.