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)
πŸ’¬ Discuss
βœ… Correct Answer: (B) o(n)
Explanation: the space complexity of the above dynamic programming implementation is o(n).

Explanation by: Mr. Dubey
the space complexity of the above dynamic programming implementation is o(n).

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
1053
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
93%
Success Rate