Skip to content

Bug Report for validate-parentheses #4665

@zwcode-cs

Description

@zwcode-cs

Bug Report for https://neetcode.io/problems/validate-parentheses

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

The given example and test cases are a bit misleading, and are different from the video solution.
More details:
The examples give "[]" and "([{}])" as correct parentheses, but never give any information on whether string such as "()[]{}" are correct or not. However, the hidden tests seem to also consider "()[]{}" as correct answers.

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