Skip to content

Bug Report for anagram-groups #4023

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

Bug Report for anagram-groups #4023

petervillaroman opened this issue Apr 9, 2025 · 0 comments

Comments

@petervillaroman
Copy link

Bug Report for https://neetcode.io/problems/anagram-groups

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

Example output is incorrect

Example 1:

Input: strs = ["act","pots","tops","cat","stop","hat"]

Output: [["hat"],["act", "cat"],["stop", "pots", "tops"]]

Hat, act, and cat are not anagrams and should not be grouped together.

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