Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Day 272 #555

Closed
vaskoz opened this issue May 21, 2019 · 0 comments · Fixed by #557
Closed

Day 272 #555

vaskoz opened this issue May 21, 2019 · 0 comments · Fixed by #557
Assignees

Comments

@vaskoz
Copy link
Owner

vaskoz commented May 21, 2019

Good morning! Here's your coding interview problem for today.

This problem was asked by Spotify.

Write a function, throw_dice(N, faces, total), that determines how many ways it is possible to throw N dice with some number of faces each to get a specific total.

For example, throw_dice(3, 6, 7) should equal 15.

@vaskoz vaskoz self-assigned this May 21, 2019
@vaskoz vaskoz mentioned this issue May 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant