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.
split(' ')
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
C translation (author gone)
JS fork Chai assertions
Approved
Loading collection data...
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...