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.
this wont work with 0 thus the condition 1 2 3 should be only true
I think it works without number due to type coercion? At least I did almost identically without converting the string for comparison
Loooved this solution!
I'm a Jesus follower but this didn't occur to me.
I did it with sheeps though π
Again, loved this one!
is fuctional better performing? I assumr it's at least more readable.
I totally forgot about the chartAt() π€¦ββοΈ
I put newString as bin = [] and still got it correct. I am unsure how because return "Bin" should have gotten me back an array but it was all strings so happy it worked but unsure still.
Algorithm needs to be re-thought in functional paradigm. This solution procedural.
Give functional a try....
This comment is hidden because it contains spoiler information about the solution
Nice solution
This solution is incorrect as your regex doesn't match the word
'abc
, it'll ignore the leading apostraphe. eg.topThreeWords("'ABC"); //=> ['abc']
This comment is hidden because it contains spoiler information about the solution
you should have used regex, no offence, just tryina help out
See the fork (As u wish) π
This comment is hidden because it contains spoiler information about the solution
unnecessary parsing to Number as >= does not compare types. If you had >== you'd need it
Loading more items...