Skip to content

Missing Test Case - 722. Remove Comments #25854

@Gursimranjeet-Singh

Description

@Gursimranjeet-Singh

LeetCode Username

singh1012

Problem Number, Title, and Link

  1. Remove Comments

Bug Category

Missing test case (Incorrect/Inefficient Code getting accepted because of missing test cases)

Bug Description

["a\nb"]

Its given that s[i] has to be an ascii character so \n being an ascii character should be allowed in the testcase.
But got following error
image
image

Language Used for Code

C++

Code used for Submit/Run operation

Use following testcase
["a\nb"]

Expected behavior

For test case ["a\nb"] the ans should be ["a","b"] since a\nb will result in a in one line and b in next line .
or more specifically ans should be ["a","b"]

Screenshots

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions