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.
Is it String split or both?
This comment is hidden because it contains spoiler information about the solution
I found something Helpful suggestion from early comments and just want to repost what he commented
It is pretty helpful to understand that's why..
Crd --- Tigerdevon
Example:
longest_consec(["it","wkppv","ixoyx", "3452", "zzz4zzzz9zzz"], 3)
The three options:
k(int) is the reason why there are 3 strings per answer
The answer is:
3) "ixoyx3452zzz4zzzz9zzz"
I really can't use
console.log()
broI need to use
return
if not it keeps showing errors.wish someone might help with my problems :(
not like i don't want to try another solution...
just want to know about my code.....
I know but it keep saying error in expected even tho i got the right one :((
I used
return
becoz i can't useconsole.log
if i use it it won't work andif u don't mind can u show me how to ?
I appreciate ur reply.
This comment is hidden because it contains spoiler information about the solution