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.
Agreed, I first solved it in Python and while I am fluent with most of the string methods after years of Python, I had forgotten about this one in absence of practice and solved it with less advanced features and alorithmic logic. Built-in methods are just masked hardwork of creators, and they can indeed be less efficient in cases and you would needa use your own logic!
Damn it! lmao I didn't know that method exists, Nice!! I'm going to add this to my future references thank you very much!
For those who did not resolve it that way... At the end of the day those like us who resolved this challenge with an actual algorithm, are the ones who create built-in methods. Actually built-in functions are just a mask hiding a larger code and guess what... Built-in methods might be much more unefficient than a customized algorithm...
Less lines of code does not mean good code
To make myself feel better I'd say, those of us who actually wrote an algorithm are geniuses too, instead of using built-in functions. :P
haskell translation waiting approval, please
https://www.codewars.com/kumite/662ec77cca93ce015fc9e011?sel=662ec77cca93ce015fc9e011
How will the case values be evaluated when you are not comparing it with the parameter?
these triangles are equable
no evidence given. Golang tests seem correct, closing
C Translation (author inactive).
The goal was not to rewrite the code, just make it work. But of course, this one is much clearer than the previous one.
Very good!!! Thanks to author!!!
Would be better if the test strings contained a random mix of upper and lower case characters to be handled.
nice
Euclid would be proud of you :D
RIGHT!!! I thought I had finally found the most basic way to the solution with a ternary operator. But that good ole 'truthy' statement....lol
Loading more items...