Prem-Kumar-Dev / hacktoberfest2024-project

Welcome to the Hacktoberfest 2024 beginner coding problems repository! This project is designed for those who want to contribute to open-source while solving basic coding challenges. Whether you are a first-time contributor or looking to practice programming, you're in the right place.
MIT License
8 stars 77 forks source link

Add Sliding Window Algorithm for Maximum Sum of Subarray of Size K( as example) #38

Closed PiyushJain045 closed 1 month ago

PiyushJain045 commented 1 month ago

The Sliding Window technique helps optimize problems where we need to process a subset of consecutive elements in an array.
This implementation finds the maximum sum of any contiguous subarray of size k in an efficient way.

@Prem-Kumar-Dev please do accept my pull request under #hacktober-accepted. Thank You.