Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
This comment is hidden because it contains spoiler information about the solution
.
Much easier than what you thought. See the next numbers of the series: 1/1, 1/4, 1/7, 1/10, 1/13, 1/16. Don't you see a pattern there?
I agree with you. I don't even know how this works, so how are we supposed to code it ???
Is it like 1/(1^1) + 1/(2^2) + 1/(3^3)... nop
Is it : 1/1 + 1/(1+2) + 1/(2+3) nop...
not even prime numbers, so what ??
This comment is hidden because it contains spoiler information about the solution
It's not broken. And you should return No, I'll explain why:
[25, 25, 25, 25, 25, 25, 25, 50, 50, 50, 100, 100, 100, 100]
For the 3 50 bills you have to return 3 25 bills (then you have 4 25 bills left)
For the 4 100 bills, you need 4 50 bills and 4 25 bills (or 3 50 bills and 6 25 bills) and you haven't enough.