Skip to content

sequence_of_words: overlapping words can trick it #1

Description

@jonathanmcmahon

In sequence_of_words.py, overlapping words can lead to logic failures where an invalid string passes as valid.

Example: "appleat" is evaluated as valid.

This is caused by the numpy summing logic.

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