Rest API - Rate Limiting and Throttling
What will be the output of this code snippet?
data = [1, 3, 5, 7]
window_size = 2
max_sums = []
for i in range(len(data) - window_size + 1):
max_sums.append(max(data[i:i+window_size]))
print(max_sums)