Skip to content

Bug Report for foreign-dictionary #5584

@spiritoftime

Description

@spiritoftime

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.
Alien dictionary description

A string a is lexicographically smaller than a string b if either of the following is true:

The first letter where they differ is smaller in a than in b.
a is a prefix of b and a.length < b.length.

should be a.length <= b.length

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