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
25
1
Oct 21, 2024
I think there's a less complex way still using queue.
Tony Pham
Oct 3, 2024
0
55
0
Oct 11, 2024
incorrect space complexity
lestatcheb
Jun 6, 2024
0
28
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
68
1
Jul 8, 2025
Problem 6: Max of All Subarrays of Size 'k'
Kartheek Penagamuri
Jan 6, 2024
0
98
0
Jan 6, 2024