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 minimum-window-with-characters #4006

Closed
@ccalibre

Description

@ccalibre

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

Missing test case:

Input:

s="ADOBANCBECODEBAXNC"t="ABC"

Expected output:

"BANC"

My first version passed the submission tests, but I realized that my code didn’t check whether the new substring was shorter during the update.

Image

Here is the screenshot of the test result using my initial version and the test case provided above.
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