Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Closed
@shannnen

Description

@shannnen

Bug Report forhttps://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.

Not exactly a bug, but a mistake in the problem constraints for "Design Add and Search Word Data Structure", it is missing the important constraint of "There will be at most 2 dots in word for search queries." that allows the optimal solution to still have a constant time complexity. Without this constraint the runtime becomes much worse and It's easy for users to not realize this and spend time trying to think of a more optimal solution.

Leetcode constraints:
Image

Neetcode constraints:
Image

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


      [8]ページ先頭

      ©2009-2025 Movatter.jp