Skip to content

Bug Report for foreign-dictionary #6158

Description

@devinitrkl

Bug Report for https://neetcode.io/problems/foreign-dictionary

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

for n==1 , if i return the word itself, the solution is accepted. but it should not.
Input "zzzzzoo"
return "zo" or "oz"

but if i return the word itself, it's still accpted

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions