We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
I would like to ask some help in order to understand this problem and how your code works.
Could somebody please explain to me if the input is:
1 1
10
why do you get 256 as tha possible number of choices?
As I understend:
I have to chose 4 solders from 10.
Sohould not this be a calculation of 10!/4!(10-4)! ??
Thank you for your explanation and help.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
King and Four Sons
You are viewing a single comment's thread. Return to all comments →
I would like to ask some help in order to understand this problem and how your code works. Could somebody please explain to me if the input is: 1 1 10 why do you get 256 as tha possible number of choices? As I understend: I have to chose 4 solders from 10. Sohould not this be a calculation of 10!/4!(10-4)! ?? Thank you for your explanation and help.