Skip to content

Bug Report for palindromic-substrings #4413

@szaozerska

Description

@szaozerska

Bug Report for https://neetcode.io/problems/palindromic-substrings

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

One of the tests for "Palindromic Substrings" (1-DP) does not adhere to the restriction of the input string length.

The problem states 1 <= s.length() <= 1000, but there's a test with s = "", i.e. len(s) = 0.

(It's an obvious fix solution-wise, of course, but I just wanted to point out that the problem statement could be clarified, or that this test could be eliminated).

Thank you for what you do,
Sofia

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