Daily-Coding-DS-ALGO-Practice
Daily-Coding-DS-ALGO-Practice copied to clipboard
Sliding Window maximum using Deque
Aim
Want to add a solution of "Sliding Window maximum using Deque" Kindly assign me this problem. I would like to add my solution to this problem in C++ easily and efficiently using Deque. Link to the problem: https://www.geeksforgeeks.org/sliding-window-maximum-maximum-of-all-subarrays-of-size-k/
Details
Given an array and an integer K, find the maximum for each and every contiguous subarray of size k.
Examples :
Input: arr[] = {1, 2, 3, 1, 4, 5, 2, 3, 6}, K = 3 Output: 3 3 4 5 5 5 6
Programming language
- [ ] C
- [ ] C++
- [ ] Java
- [ ] Python
lease assign me this issue under LGM-SOC'21 @ravikr126
Please assign me this issue under LGM-SOC'21 @ravikr126
PLEASE ASSIGN ME THIS ISSUE @ravikr126 @Saurabh4626 @Ayush7614 in java