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.
Aren't the names there in the kata's description?
The database has two tables:
athletes (Players Table):
matches (Match Records Table):
I don't think so, for people who are new it's amazing else go on with the next kata if it hurts so much.
I think it's just to show you what counts? Or something? They should just put it in the spec, in my opinion.
it is mentioned in the description. it is done to make kata more complex - to find out unorthodox approaches.
Print the input, read this:
And see the last example in the decription:
You're also hardcoding the number of arguments, that's not a good thing to do.
for example take tese 2 words "some" and "home" ------> "ome" is common among both, it is clearly present in the question, You missed it!
See the reply to the comment below. This kata was made before BF was available on Codewars, hence JS.
You're supposed to write a BF program, not JS one. I don't know why JS is available here at all...
It's in the description:
people is the table's name in this kata.
No problem, it's in Details, Stats: Created and Published.
Have you seen how old is this kata? It wouldn't be approved today.
This comment is hidden because it contains spoiler information about the solution
@andreapt82 The condition is only that every boy has a girl next to him (on either side), and vice versa. So while BB is not valid, GBBG is valid. Have a look at the expected solution for your problem, are there any Bs that are NOT next to a G? Or any Gs that are NOT next to a B?
I give up.
She even gave you a possible solution for those inputs.
No, it should not be
null
.Loading more items...