McqMate
| Q. |
What is the space complexity of the following dynamic programming implementation used to find the minimum number of jumps? |
| A. | o(1) |
| B. | o(n) |
| C. | o(n2) |
| D. | o(5) |
| Answer» B. o(n) | |
| Explanation: the space complexity of the above dynamic programming implementation is o(n). | |
View all MCQs in
Design and Analysis of AlgorithmsNo comments yet