Skip to content

coin problem: returns the wrong result when 0 is listed in the coin collection.q #3584

@mookid

Description

@mookid

I found the following bug while writing the rust version:

>>> dp_count([0], 1, 0)

Expected:
1
Got:
2

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleUsed to mark an issue or pull request stale.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions