You are viewing a single comment's thread. Return to all comments →
If you insist on "playing by the rules" this article should help: http://www.geeksforgeeks.org/maximum-of-all-subarrays-of-size-k/#disqus_thread. Don't just copy the solution try to understand what is happening. I posted this so people could gain insight not so people could get easy points.
Seems like cookies are disabled on this browser, please enable them to open this website
Deque-STL
You are viewing a single comment's thread. Return to all comments →
If you insist on "playing by the rules" this article should help: http://www.geeksforgeeks.org/maximum-of-all-subarrays-of-size-k/#disqus_thread. Don't just copy the solution try to understand what is happening. I posted this so people could gain insight not so people could get easy points.