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.
2 parents 4f41b2e + c360276 commit 29ae197Copy full SHA for 29ae197
1 file changed
src/hackerrank/interview_preparation_kit/dynamic_programming/max_array_sum.py
@@ -1,7 +1,7 @@
1
# @link Problem definition
2
# [[docs/hackerrank/interview_preparation_kit/dynamic_programming/max_array_sum.md]]
3
4
-def maxSubsetSum(arr_input: list[int]):
+def maxSubsetSum(arr_input: list[int]) -> int:
5
arr = arr_input[:]
6
7
# Edge case
0 commit comments