Skip to content

Bug Report for foreign-dictionary #5400

@nem0z

Description

@nem0z

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.

Input: words=["hrn","hrf","er","enn","rfnn"]
This is my output: whern
This is the expected output: dof=swhern

The expected output is totally messup but also for some reason the input I get: [words=hrn hrf er enn rfnn] and it looks like words is included in the input as words[0] outputs words=hrn. And that leads to the "w" at the beginning from my output.

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