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.
I just removed the random test because I don't know Ruby and I don't have time to fix the code. It should work now.
This is fixed?
Nice Kata I thought it would be easier than it was.
you said that it should only remove lowercase but I see some solutions that pass when using the 'i' modifier
I don't think I have ever seen an object used to replace a switch statement. Thanks this is awesome.
Thank you for that, I have updated the tesdt to assertEquals.
I noticed the other one when I had finished mine. The few differences are that in this one you have to account for "^" and I believe this one is easier because you don't have to account for various inputs, the input will always be a postfix string with spaces between all variables. In the other one you might have a string "1 2 3" without any operators which should return a 3, in this kata you will always have one less operator than the count of the Number variables.
This is the my first kata so any suggestions would be much appreciated, as well as any ideas on what the tags should be.
I am having the same issue.
You need to specify that it needs to distinguish between strings that are exclusivly "like" and strings that contain like in them. If you ask me it should count an array value that is a string with 2 likes in it as 2 likes.
This comment is hidden because it contains spoiler information about the solution