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.
Short and sweet, but not best practices. I think this is a cute and clever solution for a simple string, but not efficient if the input was 100s or 1000s of characters long. I'd prefer a solution that returned false as soon as a lowercase character was found. In this case this solution is O(n) yet always the worst case, meaning that it always has to reach the last item (ALL characters must be uppercased) before it can determine the boolean value. This is more of a JS like solution than an Elixir solution. Elixir has better "tools" for working with strings.
This is very clever!!!
Which Kata is it (send me a link) and which language did you do it in? If the problem is Kata specific, you should post on the discourse page for that Kata instead of the forum which is for general topics. It's possible that you are giving the wrong data type - maybe it wants a string and you gave a float or vise versa.
Hi guys. I was working on a Kata and everything looks good, but the program cannot pass the test, here is the error:
Expected: equal to 1.2125
Actual: 1.2125
Expected: equal to 1.03128
Actual: 1.03128
Seems that I got all of them right, but it just won't let it go through, can anyone help me with it? Thank you very much for your time!!
Alex
I'm not sure about the best solution for this, so people can feel free to offer suggestions. I would greatly appreciate some way to either ignore or filter out katas by certain users. I skip them every time, which is very tedious. I know someone below suggested filtering by tags, so perhaps that would help.