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.
The variable 'money' is needed for this kata. If you can resolve it without this variable, you are welcome
done
write an algorithm that tells me whether it is profitable for me to accept all the offers
- it means you should always accept all offers and return the right answer:If I get profit and should accept all offers, let algorithm return 'A good day, the profit is n$.' and otherwise 'Nonprofit day.'