sanyamjain036 / HacktoberFest2022

In this repository, you can find the solutions (as source code) for the problems in LeetCode.
MIT License
3 stars 61 forks source link

Created sliding_window_max_of_all_subarrays.cpp #40

Closed shadowfax999 closed 1 year ago

shadowfax999 commented 1 year 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.