Yet Another Off By One Error

This commit is contained in:
2023-10-28 08:24:17 -04:00
parent 3580198513
commit 01a189c5ee
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -461,6 +461,10 @@ def test_trie_busy():
[5, 4, -1, 7, 8],
23,
),
(
[-2, 1],
1,
),
],
)
def test_maximum_subarray(nums: list[int], expected: int):