The test case of
No idea why the test case
Should it be 0 instead?
The empty combination makes up amount 0, so answer 1 is correct there.
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.