DSC-Banasthali-Vidyapith / Code-Crossroad

This project contains the carefully compiled Data Structures & Algorithm questions asked by the companies that visit Banasthali Vidyapith on-campus.
MIT License
55 stars 78 forks source link

Maximum of all subarrays of size k #74

Closed Sanskriti2401 closed 3 years ago

Sanskriti2401 commented 3 years ago

I would like to solve this question in O(N) time and O(k) space complexity using queue.

Vanshikagarg17 commented 3 years ago

You can start working on this issue. All the best!