You need to sign in or sign up before continuing.×
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.
Could be 7kyu.
Why this task is so ez for 6kyu? It's literally 1 string to write)XD
the biggest problem in your code is that you
split(' ')
on the space character, so you end up with a single chunk, since there are no spaces in the input strings.Oh, true. The question was has anybody else seen the same problem: the function returns an empty string here, but it works in vscode
What is your question tho? If the question is "why my code does not work" then we do not know, and we cannot tell without seeing your code.
onlyDuplicates('abccdefee'): expected '' to equal 'cceee'
running the same code in VSCode seems to filter ok
can't figure out what went wrong O_o
approved
This comment is hidden because it contains spoiler information about the solution
LGTM, approved!
Prolog translation
ranks cannot be changed
approved
C translation (author gone)
JS fork Chai assertions
Approved
Loading more items...