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 :(
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 :(