ary1733 / Hacktober2020

Lets make a code bank for Competitive coding
9 stars 31 forks source link

Created sliding_window_max_of_all_subarrays.cpp #93

Closed shadowfax999 closed 1 year ago

shadowfax999 commented 2 years ago

This code will find the maximum elements in all sub-arrays of size 'k' in an array. Double-ended Queue data structure is used here using CPP STL.