Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Python
/ max_sum_sliding_window.py
File
max_sum_sliding_window.py
maths/max_sum_sliding_window.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
""
"
2
Given an array of integer elements and an integer
'k'
, we are required to find the
3
maximum sum of
'k'
consecutive elements in the array.
4
Callers
nothing calls this directly
Calls
1
max_sum_in_array
Function · 0.85
Tested by
no test coverage detected