Skip to content

Bug Report for minimum-window-with-characters #4776

@Zomb42

Description

@Zomb42

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

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

Hi Team,

I found an issue where neetcode doesn't have enough test cases for this question, so that a solution that passes here won't pass on leetcode.
For example the first block of code that I will paste down here won't pass for test cases s = "ammabc" t= "abc" and s ="baAaABabBba" t = ""AbbB" but was accepted by neetcode. I edited this original solution for a better solution that I will also paste below that passes all of the leetcode test cases for reference. Not sure if this is a major issue but it seems like an easy fix for a more accurate testing experience. Thanks.

badSolutionThatPasses.py
goodSolution.py

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