-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Open
Description
Bug Report for https://neetcode.io/problems/combination-sum-iv
Please describe the bug below and include any steps to reproduce the bug or screenshots if possible.
The target for this question cannot be zero, but there's a test case with target equals to zero and the expected result set to one
This test case can pass with provide solution because we set our dp[0] = 1, but this test case shouldn't exist because this is not matched with question's boundary
Can accept test case set target == 0

Metadata
Metadata
Assignees
Labels
No labels

