You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 throwN
dice with some number of faces each to get a specific total.For example,
throw_dice(3, 6, 7)
should equal15
.The text was updated successfully, but these errors were encountered: