• ###### danik00111commented on "Array.diff" kata

Uhh... Is this really a yellow kata?

The solution is literally a one-liner.

• ###### johnson-Omwoyocommented on "Array.diff" kata

learning this stuffs anyone who like to join me

• ###### Dungeon Synth Enjoyercreated an issue for "Array.diff" kata

This comment is hidden because it contains spoiler information about the solution

• ###### Interpretercommented on "Array.diff" kata

Olá Luca, o seu código apresenta um problema ao assumir que a variável 'b' possui apenas um elemento. Na verdade, 'b' pode conter múltiplos valores. Consoante você tem no seu código, você acessa apenas o primeiro índice da variável 'b'.

• ###### LucaBmastercreated a question for "Array.diff" kata

This comment is hidden because it contains spoiler information about the solution

• ###### rowcasedcommented on "Array.diff" kata

It is forbidden to post solutions for others to see / use. Fortunately someone has already added the spoiler flag to the comment so it is not visible to those that have not solved the kata.

• ###### TiagoSilva34commented on "Array.diff" kata

This comment is hidden because it contains spoiler information about the solution

• ###### ingenierooscarcreated a question for "Array.diff" kata

This comment is hidden because it contains spoiler information about the solution

• ###### LeonidBolshakovcommented on "Array.diff" kata

In operators:
if (a[i] != b[j]) {
You output element a[i] as many times as it does not match the elements b. And it must be equal to 1 time, and then only if it does not coincide with any of the elements b.

• ###### theflyingpotatocommented on "Array.diff" kata

Found the instructions for this needlessly overcomplicated, I somehow bumbled my way to a solution in the end.

• ###### ejini战神resolved a question on "Array.diff" kata

You can just convert the original inputs to `Set` and find their differences instead of storing it in a new variable beforehand.

• ###### MuhammadFarhanRosidicommented on "Function 1 - hello world" javascript solution

it's so easy for me. I'm very happy to improve my logic in javascript with codewars

• ###### CodingDochicommented on "Array.diff" kata

i solved it

test case a = [3, 4, 5] b= [1, 2, 3, 4]

• ###### NEVERdieNMcommented on "Array.diff" kata

This comment is hidden because it contains spoiler information about the solution