We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa9a6e6 commit 720feb3Copy full SHA for 720feb3
dynamic_programming/matrix_chain_multiplication.py
@@ -73,6 +73,7 @@ def matrix_chain_multiply(arr: list[int]) -> int:
73
722
74
>>> matrix_chain_multiply(list(range(1, 100)))
75
323398
76
+
77
# >>> matrix_chain_multiply(list(range(1, 251)))
78
# 2626798
79
"""
@@ -113,6 +114,7 @@ def matrix_chain_order(dims: list[int]) -> int:
113
114
115
>>> matrix_chain_order(list(range(1, 100)))
116
117
118
# >>> matrix_chain_order(list(range(1, 251))) # Max before RecursionError is raised
119
120
0 commit comments