Skip to content

Bug Report for add-two-numbers #5962

Description

@rambabu-patidar

Bug Report for https://neetcode.io/problems/add-two-numbers

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

The the problem constrains says that the node.val should be between 0 to 9 ,
but the custom test case with values as l1=[0,1], l2=[42] is executed instead of giving error and returns a ans as [2, 5]

42 is not in range of 0 and 9 :(

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