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.
it dont make sense. what if the array has 100M and the 1st item is the largest one?
I think its pretty readble to me.
Did you come from C lamguange or any other lower level programming language?
@Discidee this won't work for this common case "qwertyuiopasdfghjklzxcvbnm" where it's should be True but it's not existed in kata's tests
you are just verify if the length of string is more than 27 and that's not what this kata wants you to do however it's working properly because all
True
cases have length higher than 27 that's why your code is working@sztssp
Maybe perhaps it won't be for a larger data! (like an entire paragraph)!!! Would be a good experiment to test it!
for real?
nah, in set u have to add more conditions like removing non alphanumerical characters like question marks etc
Actually, I'm rather lazy than dedicated :D
i would hire him, at least he is dedicated
YOU ARE HIRED!
In this case, the function is so small, just by looking at it, you can indentify the purpose of each variable very quickly. Not all times you need the best variables names.
This comment is hidden because it contains spoiler information about the solution
using set will fix that
I think it's codewars algorithm
This comment is hidden because it contains spoiler information about the solution
Loading more items...