Skip to content

Bug Report for design-word-search-data-structure #5827

@sean-o-reilly

Description

@sean-o-reilly

Bug Report for https://neetcode.io/problems/design-word-search-data-structure

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

Testcase:

["WordDictionary","addWord","addWord","addWord","search","search","search","search"]
[[],["day"],["bay"],["may"],["say"],["day"],[".ay"],["b.."]]

Passes when ran with the Run button (1/1 Accepted), but

/bin/bash: line 1:     3 Segmentation fault      (core dumped) ./main < stdin.txt

Occurs when ran through the Submit button. (0/30)

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