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: Test case violates uniqueness assumption in "Minimum Window Substring" problem #4294

Open
@AnishyaV

Description

@AnishyaV

Bug Report forhttps://neetcode.io/problems/minimum-window-with-characters

Image

In the above screenshot, it can be observed that for the test case:
s="ADOBANCBECODEBAXNC"
t="ABC"

The observed outputs:

"BANC" (expected by judge)

"ANCB" (also valid but rejected)

This contradicts the statement that “the correct output is always unique.”

Suggested fix:

Either update the test case to ensure uniqueness,
Or remove the uniqueness assumption from the problem statement.

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