freeCodeCamp / wiki

freeCodeCamp's deprecated wiki articles
http://www.freecodecamp.com/wiki
281 stars 308 forks source link

Update Algorithm Symmetric Difference #1164

Closed dakshshah96 closed 8 years ago

dakshshah96 commented 8 years ago

Refer #1094

Rafase282 commented 8 years ago

The intermediate solution is mine, if you added the basic then you can add your name, which means we can remove the other names.

Also https://repl.it/CLod/0 works so we don't need to remove this solution.

dakshshah96 commented 8 years ago

Can you provide the explanation for https://repl.it/CLod/0 ? And about the names, if we include https://repl.it/CLod/0, which names should I keep?

Rafase282 commented 8 years ago

Names to keep:

The others can be removed.

Rafase282 commented 8 years ago

Links for the ES6 solution:

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set/has https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_operator map, reduce and filter we should have on FCC.

Rafase282 commented 8 years ago

The ES6 solution should be the advance one, for now just make sure to add the comments explanation in the explanation section. Reading the links I gave you, you should be able to understand what is going on. Right now I can't provide you an explanation as that is also new to me but I don't have the time to study it right now but in any case you can still just get the names right, add the links, and have everything ready and we can work on a better explanation later on.

dakshshah96 commented 8 years ago

@Rafase282 The links should be enough for me to write a good enough explanation. Thanks! 👍

dakshshah96 commented 8 years ago

@Rafase282 Updated the PR. I hope the explanation is okay. Please suggest any modifications, if needed.

ghost commented 8 years ago

LGTM :+1: