Skip to content

Bug Report for word-break #5461

@saef-k

Description

@saef-k

Bug Report for https://neetcode.io/problems/word-break

Please describe the bug below and include any steps to reproduce the bug or screenshots if possible.
My algorithm passed the test case but it should not work.
Add this test case
s = "aaab"
wordDict = ["a", "aa", "aaa", "aaab"]

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