Skip to content

Bug Report for permutation-string #4016

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
Tanishq510 opened this issue Apr 7, 2025 · 0 comments
Open

Bug Report for permutation-string #4016

Tanishq510 opened this issue Apr 7, 2025 · 0 comments

Comments

@Tanishq510
Copy link

Tanishq510 commented Apr 7, 2025

Bug Report for https://neetcode.io/problems/permutation-string

Please describe the bug below and include any steps to reproduce the bug or screenshots if possible.

The solution "2. Hash Table" is returning success response even if the string s1 is not the permutation of string s2.
Question gives a set of example below:

Input: s1 = "abc", s2 = "lecaabee"
Output: false

However if we create a test case,its gets succeeded !!

Image
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

No branches or pull requests

1 participant