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.
@lucas456645 did you even read what Clever means there?
53 now
Yeah, I see your solution, I guess if you work hard for the next 15 years you will see why those 52 people had that opinion. Good look!
52 people have literally marked it as "clever" which is what I am referring to and this is obviously my opinion so whatever neckbeard
Well, the solution was not meant to be "clever" (whatever you might think that is), it was meant to work, whick it does. If you don't see what's going on by just looking at it, don't assume any other dev will struggle the same way.
I undestand exactly what it is doing. what ditproz has said is correct. It is a perfectly adequate solution but it is not "clever" and it will not feel clever in 6 months when you have to explain to the junior devs what is going on
Hey, don't blame the solution if you are not smart enough to understand it lol
There's a few things that might clarify this.
I guess it's a question of how developers treat these challenges and programming styles. I have been on teams where functional code clearly written, named and tested still throws developers because the style is very different from the imperative style.
| Someone will come back to this in 6 months and not have any idea what it is doing
Yeah, probably this will happen with a junior. Without any of the improvements suggested.
not clever, too hard to understand. Someone will come back to this in 6 months and not have any idea what it is doing
His
-__-, so simple ? xD I try hard on that.
This is O(3n), there is a 0(n) solution, 3 times more performant.
Same my solution :) I think it's good
This won't work. T and t will be included by the regex (/[a-z]/gi). Thus resulting in a Set with a size > then 26, in the first testing case, for example.
This comment is hidden because it contains spoiler information about the solution
Loading more items...