Skip to content

solve some cases for Leetcode #239 #2324

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

skalra896
Copy link

It would be safer to check for the size of window being equal or more than k

test case, k = 1, input = [1,-1]
expected output: [1,-1]
With current implementation, output is: [1]

Important

Please make sure the file name is lowercase and a duplicate file does not already exist before merging.

It would be safer to check for the size of window being equal or more than k

test case, k = 1, input = [1,-1]
expected output: [1,-1]
With current implementation, output is: [1]
@skalra896
Copy link
Author

@neetcode-gh and team, can we please have this reviewed
Thanks
cc @sujal-goswami

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

Successfully merging this pull request may close these issues.

1 participant