combination.py large number n, r case too slow to find a combination · Issue #357 · keon/algorithms · GitHub
Skip to content

combination.py large number n, r case too slow to find a combination #357

Description

@arsgsg1

hi, when i test combination.py, I found specific case with input large n, r too slow to find combination.

combination(50, 10) <- 10272278170 // too slow

in my opinion, using memoization method, can problem solving (using dictionary)

Can i send PR you?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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