1.

What is space complexity of the above dynamic programming implementation of the dice throw problem where f is the number of faces, n is the number of dice and s is the sum to be found?

A. O(n*f)
B. O(f*s)
C. O(n*s)
D. O(n*f*s)
Answer» D. O(n*f*s)


Discussion

No Comment Found