Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Sliding Window Algorithm Implementations #6000

Open
Chiefpatwal opened this issue Oct 25, 2024 · 4 comments
Open

Add Sliding Window Algorithm Implementations #6000

Chiefpatwal opened this issue Oct 25, 2024 · 4 comments
Assignees

Comments

@Chiefpatwal
Copy link
Contributor

What would you like to Propose?

I would like to propose adding a dedicated file, SlidingWindow.java, to this repository. This file will contain sliding window algorithms commonly used in competitive programming and interviews. These algorithms include solutions that demonstrate both fixed-length and variable-length sliding window techniques.

Issue details

Currently, the repository lacks sliding window algorithms, a core technique in solving many subarray or substring-related problems efficiently. This proposal aims to address that gap by adding a dedicated file for sliding window algorithms, complete with explanations and test cases.

Additional Information

The following well-known problems will be implemented:

Maximum Sum Subarray of Size KK: This problem is commonly found in coding interviews and challenges.
Longest Substring Without Repeating Characters: A classic problem on platforms like LeetCode, demonstrating the utility of sliding window techniques.
Smallest Subarray with Sum Greater Than SS: This problem is frequently encountered in competitive programming scenarios.

Can also add similar problems.

@charu1110
Copy link

@Chiefpatwal can i work on this issue ?

@Chiefpatwal
Copy link
Contributor Author

@charu1110 sure you can, i have already created sliding window directory and have added two general problems for the same you can add others.

@m-saurabh01
Copy link

Can I add more problems in sliding window section?

@Chiefpatwal
Copy link
Contributor Author

@m-saurabh01 sure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants