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.
!
You'd need a different set of currency for the greedy algorithm to fail. Try the sequal kata for something a little more challenging: https://www.codewars.com/kata/making-change-part-2
It's been in beta for years. :(
Great!
Could you please try again?
Which language?
Thanks for the hint. We will check this.
I was having the same issue until I read the directions again with a very fine-toothed comb. I skimmed past a word the first time and it threw off my algorithm :(
It's described in the docs at http://ruby-doc.org/core-2.2.3/String.html#method-i-gsub.