├── .editorconfig ├── .gitignore ├── .travis.yml ├── README.md ├── compiled ├── array-is-equal.js ├── array │ ├── flatten.js │ ├── remove-from-array.js │ └── reverse.js ├── interview-questions │ ├── given-sum.js │ ├── is-palindrome.js │ ├── reorder-by-indexes.js │ ├── reverse-string.js │ └── string-contains.js └── math │ ├── factorial.js │ ├── fibonacci.js │ ├── greatest-common-divisor.js │ ├── is-prime.js │ ├── permutation.js │ └── simple-combination.js ├── gulpfile.js ├── package.json ├── src ├── array │ ├── __tests__ │ │ ├── concat-test.js │ │ ├── flatten-test.js │ │ ├── intersection-test.js │ │ ├── remove-duplicates-test.js │ │ ├── remove-from-array-test.js │ │ ├── reverse-test.js │ │ └── union-test.js │ ├── concat.js │ ├── flatten.js │ ├── intersection.js │ ├── remove-duplicates.js │ ├── remove-from-array.js │ ├── reverse.js │ └── union.js ├── interview-questions │ ├── __tests__ │ │ ├── given-sum-test.js │ │ ├── is-palindrome-test.js │ │ ├── reorder-by-indexes.js │ │ ├── reverse-string-test.js │ │ └── string-contains-test.js │ ├── given-sum.js │ ├── is-palindrome.js │ ├── reorder-by-indexes.js │ ├── reverse-string.js │ └── string-contains.js └── math │ ├── __tests__ │ ├── factorial-test.js │ ├── fibonacci-test.js │ ├── greatest-common-divisor.js │ ├── is-prime-test.js │ ├── permutation-test.js │ └── simple-combination-test.js │ ├── factorial.js │ ├── fibonacci.js │ ├── greatest-common-divisor.js │ ├── is-prime.js │ ├── permutation.js │ └── simple-combination.js └── utils ├── __tests__ └── array-is-equal-test.js ├── array-is-equal.js └── es6-transformer.js /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedronauck/algorithms-with-es6/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.DS_Store 2 | node_modules 3 | npm-debug.log -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedronauck/algorithms-with-es6/HEAD/.travis.yml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedronauck/algorithms-with-es6/HEAD/README.md -------------------------------------------------------------------------------- /compiled/array-is-equal.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedronauck/algorithms-with-es6/HEAD/compiled/array-is-equal.js -------------------------------------------------------------------------------- /compiled/array/flatten.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedronauck/algorithms-with-es6/HEAD/compiled/array/flatten.js -------------------------------------------------------------------------------- /compiled/array/remove-from-array.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedronauck/algorithms-with-es6/HEAD/compiled/array/remove-from-array.js -------------------------------------------------------------------------------- /compiled/array/reverse.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedronauck/algorithms-with-es6/HEAD/compiled/array/reverse.js -------------------------------------------------------------------------------- /compiled/interview-questions/given-sum.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedronauck/algorithms-with-es6/HEAD/compiled/interview-questions/given-sum.js -------------------------------------------------------------------------------- /compiled/interview-questions/is-palindrome.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedronauck/algorithms-with-es6/HEAD/compiled/interview-questions/is-palindrome.js -------------------------------------------------------------------------------- /compiled/interview-questions/reorder-by-indexes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedronauck/algorithms-with-es6/HEAD/compiled/interview-questions/reorder-by-indexes.js -------------------------------------------------------------------------------- /compiled/interview-questions/reverse-string.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedronauck/algorithms-with-es6/HEAD/compiled/interview-questions/reverse-string.js -------------------------------------------------------------------------------- /compiled/interview-questions/string-contains.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedronauck/algorithms-with-es6/HEAD/compiled/interview-questions/string-contains.js -------------------------------------------------------------------------------- /compiled/math/factorial.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedronauck/algorithms-with-es6/HEAD/compiled/math/factorial.js -------------------------------------------------------------------------------- /compiled/math/fibonacci.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedronauck/algorithms-with-es6/HEAD/compiled/math/fibonacci.js -------------------------------------------------------------------------------- /compiled/math/greatest-common-divisor.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedronauck/algorithms-with-es6/HEAD/compiled/math/greatest-common-divisor.js -------------------------------------------------------------------------------- /compiled/math/is-prime.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedronauck/algorithms-with-es6/HEAD/compiled/math/is-prime.js -------------------------------------------------------------------------------- /compiled/math/permutation.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedronauck/algorithms-with-es6/HEAD/compiled/math/permutation.js -------------------------------------------------------------------------------- /compiled/math/simple-combination.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedronauck/algorithms-with-es6/HEAD/compiled/math/simple-combination.js -------------------------------------------------------------------------------- /gulpfile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedronauck/algorithms-with-es6/HEAD/gulpfile.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedronauck/algorithms-with-es6/HEAD/package.json -------------------------------------------------------------------------------- /src/array/__tests__/concat-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedronauck/algorithms-with-es6/HEAD/src/array/__tests__/concat-test.js -------------------------------------------------------------------------------- /src/array/__tests__/flatten-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedronauck/algorithms-with-es6/HEAD/src/array/__tests__/flatten-test.js -------------------------------------------------------------------------------- /src/array/__tests__/intersection-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedronauck/algorithms-with-es6/HEAD/src/array/__tests__/intersection-test.js -------------------------------------------------------------------------------- /src/array/__tests__/remove-duplicates-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedronauck/algorithms-with-es6/HEAD/src/array/__tests__/remove-duplicates-test.js -------------------------------------------------------------------------------- /src/array/__tests__/remove-from-array-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedronauck/algorithms-with-es6/HEAD/src/array/__tests__/remove-from-array-test.js -------------------------------------------------------------------------------- /src/array/__tests__/reverse-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedronauck/algorithms-with-es6/HEAD/src/array/__tests__/reverse-test.js -------------------------------------------------------------------------------- /src/array/__tests__/union-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedronauck/algorithms-with-es6/HEAD/src/array/__tests__/union-test.js -------------------------------------------------------------------------------- /src/array/concat.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedronauck/algorithms-with-es6/HEAD/src/array/concat.js -------------------------------------------------------------------------------- /src/array/flatten.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedronauck/algorithms-with-es6/HEAD/src/array/flatten.js -------------------------------------------------------------------------------- /src/array/intersection.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedronauck/algorithms-with-es6/HEAD/src/array/intersection.js -------------------------------------------------------------------------------- /src/array/remove-duplicates.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedronauck/algorithms-with-es6/HEAD/src/array/remove-duplicates.js -------------------------------------------------------------------------------- /src/array/remove-from-array.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedronauck/algorithms-with-es6/HEAD/src/array/remove-from-array.js -------------------------------------------------------------------------------- /src/array/reverse.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedronauck/algorithms-with-es6/HEAD/src/array/reverse.js -------------------------------------------------------------------------------- /src/array/union.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedronauck/algorithms-with-es6/HEAD/src/array/union.js -------------------------------------------------------------------------------- /src/interview-questions/__tests__/given-sum-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedronauck/algorithms-with-es6/HEAD/src/interview-questions/__tests__/given-sum-test.js -------------------------------------------------------------------------------- /src/interview-questions/__tests__/is-palindrome-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedronauck/algorithms-with-es6/HEAD/src/interview-questions/__tests__/is-palindrome-test.js -------------------------------------------------------------------------------- /src/interview-questions/__tests__/reorder-by-indexes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedronauck/algorithms-with-es6/HEAD/src/interview-questions/__tests__/reorder-by-indexes.js -------------------------------------------------------------------------------- /src/interview-questions/__tests__/reverse-string-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedronauck/algorithms-with-es6/HEAD/src/interview-questions/__tests__/reverse-string-test.js -------------------------------------------------------------------------------- /src/interview-questions/__tests__/string-contains-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedronauck/algorithms-with-es6/HEAD/src/interview-questions/__tests__/string-contains-test.js -------------------------------------------------------------------------------- /src/interview-questions/given-sum.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedronauck/algorithms-with-es6/HEAD/src/interview-questions/given-sum.js -------------------------------------------------------------------------------- /src/interview-questions/is-palindrome.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedronauck/algorithms-with-es6/HEAD/src/interview-questions/is-palindrome.js -------------------------------------------------------------------------------- /src/interview-questions/reorder-by-indexes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedronauck/algorithms-with-es6/HEAD/src/interview-questions/reorder-by-indexes.js -------------------------------------------------------------------------------- /src/interview-questions/reverse-string.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedronauck/algorithms-with-es6/HEAD/src/interview-questions/reverse-string.js -------------------------------------------------------------------------------- /src/interview-questions/string-contains.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedronauck/algorithms-with-es6/HEAD/src/interview-questions/string-contains.js -------------------------------------------------------------------------------- /src/math/__tests__/factorial-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedronauck/algorithms-with-es6/HEAD/src/math/__tests__/factorial-test.js -------------------------------------------------------------------------------- /src/math/__tests__/fibonacci-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedronauck/algorithms-with-es6/HEAD/src/math/__tests__/fibonacci-test.js -------------------------------------------------------------------------------- /src/math/__tests__/greatest-common-divisor.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedronauck/algorithms-with-es6/HEAD/src/math/__tests__/greatest-common-divisor.js -------------------------------------------------------------------------------- /src/math/__tests__/is-prime-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedronauck/algorithms-with-es6/HEAD/src/math/__tests__/is-prime-test.js -------------------------------------------------------------------------------- /src/math/__tests__/permutation-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedronauck/algorithms-with-es6/HEAD/src/math/__tests__/permutation-test.js -------------------------------------------------------------------------------- /src/math/__tests__/simple-combination-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedronauck/algorithms-with-es6/HEAD/src/math/__tests__/simple-combination-test.js -------------------------------------------------------------------------------- /src/math/factorial.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedronauck/algorithms-with-es6/HEAD/src/math/factorial.js -------------------------------------------------------------------------------- /src/math/fibonacci.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedronauck/algorithms-with-es6/HEAD/src/math/fibonacci.js -------------------------------------------------------------------------------- /src/math/greatest-common-divisor.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedronauck/algorithms-with-es6/HEAD/src/math/greatest-common-divisor.js -------------------------------------------------------------------------------- /src/math/is-prime.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedronauck/algorithms-with-es6/HEAD/src/math/is-prime.js -------------------------------------------------------------------------------- /src/math/permutation.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedronauck/algorithms-with-es6/HEAD/src/math/permutation.js -------------------------------------------------------------------------------- /src/math/simple-combination.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedronauck/algorithms-with-es6/HEAD/src/math/simple-combination.js -------------------------------------------------------------------------------- /utils/__tests__/array-is-equal-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedronauck/algorithms-with-es6/HEAD/utils/__tests__/array-is-equal-test.js -------------------------------------------------------------------------------- /utils/array-is-equal.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedronauck/algorithms-with-es6/HEAD/utils/array-is-equal.js -------------------------------------------------------------------------------- /utils/es6-transformer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pedronauck/algorithms-with-es6/HEAD/utils/es6-transformer.js --------------------------------------------------------------------------------