Skip to content
RED SAG Skills
medium10 pts · first answer countsarrayssliding-windowdeque

Maximum of every window

You need the maximum of every window of size k in an array of n readings. What gives O(n) total time?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions