Back to course home
0% completed
Vote For New Content
alternative approach using deuque, but not monotonic decreasing deque
n.place
Sep 1, 2025
0
4
0
Sep 1, 2025
Requesting the time and space complexity of below code?
Sourav Singh
Oct 9, 2024
0
24
1
Oct 21, 2024
I think there's a less complex way still using queue.
Tony Pham
Oct 3, 2024
0
54
0
Oct 11, 2024
incorrect space complexity
lestatcheb
Jun 6, 2024
0
27
0
Jun 6, 2024
Why not return [max(arr[i:i+k]) for i in range(len(arr)-k+1)]
kurtbell87
Mar 29, 2024
0
66
1
Jul 8, 2025
Problem 6: Max of All Subarrays of Size 'k'
Kartheek Penagamuri
Jan 6, 2024
0
98
0
Jan 6, 2024