├── .babelrc ├── .gitignore ├── LICENSE ├── README.md ├── index.html ├── package.json ├── server.js └── source ├── cryptographic ├── affine-cipher │ ├── affine-cipher.js │ └── affine-cipher.spec.js ├── caesar-cipher │ ├── caesar-cipher.js │ └── caesar-cipher.spec.js └── vigenere-cipher │ ├── vigenere-cipher.js │ └── vigenere-cipher.spec.js ├── hash-table ├── hash-table.js └── linear-hashing │ ├── linear-hashing.js │ └── linear-hashing.spec.js ├── heap └── binary-heap │ ├── binary-heap.js │ └── binary-heap.spec.js ├── other ├── fibonacchi │ └── fibonacchi.js ├── fisher-yates │ └── fisher-yates.js └── sieve-of-eratosthenes │ ├── sieve-of-eratosthenes.js │ └── sieve-of-eratosthenes.spec.js ├── search ├── binary-search │ ├── binary-search.js │ └── binary-search.spec.js ├── breadth-first-search │ └── breadth-first-search.js └── linear-search │ ├── linear-search.js │ └── linear-search.spec.js ├── sorts ├── bead-sort │ ├── bead-sort.js │ └── bead-sort.spec.js ├── bubble-sort │ ├── bubble-sort.js │ └── bubble-sort.spec.js ├── counting-sort │ ├── counting-sort.js │ └── counting-sort.spec.js ├── gnome-sort │ ├── gnome-sort.js │ └── gnome-sort.spec.js ├── odd-even-sort │ ├── odd-even-sort.js │ └── odd-even-sort.spec.js ├── quick-sort │ ├── quick-sort.js │ └── quick-sort.spec.js ├── radix-sort │ ├── radix-sort.js │ └── radix-sort.spec.js ├── selection-sort │ ├── selection-sort.js │ └── selection-sort.spec.js └── solomon-sort │ ├── solomon-sort.js │ └── solomon-sort.spec.js ├── structures ├── doubly-list.js ├── queue.js ├── singly-list.js └── stack.js ├── trees └── binary-tree.js └── utils └── helpers.js /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["es2015"] 3 | } 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | npm-debug.log 3 | .idea -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmitrymorozoff/algorithms-in-javascript/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmitrymorozoff/algorithms-in-javascript/HEAD/README.md -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmitrymorozoff/algorithms-in-javascript/HEAD/index.html -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmitrymorozoff/algorithms-in-javascript/HEAD/package.json -------------------------------------------------------------------------------- /server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmitrymorozoff/algorithms-in-javascript/HEAD/server.js -------------------------------------------------------------------------------- /source/cryptographic/affine-cipher/affine-cipher.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmitrymorozoff/algorithms-in-javascript/HEAD/source/cryptographic/affine-cipher/affine-cipher.js -------------------------------------------------------------------------------- /source/cryptographic/affine-cipher/affine-cipher.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmitrymorozoff/algorithms-in-javascript/HEAD/source/cryptographic/affine-cipher/affine-cipher.spec.js -------------------------------------------------------------------------------- /source/cryptographic/caesar-cipher/caesar-cipher.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmitrymorozoff/algorithms-in-javascript/HEAD/source/cryptographic/caesar-cipher/caesar-cipher.js -------------------------------------------------------------------------------- /source/cryptographic/caesar-cipher/caesar-cipher.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmitrymorozoff/algorithms-in-javascript/HEAD/source/cryptographic/caesar-cipher/caesar-cipher.spec.js -------------------------------------------------------------------------------- /source/cryptographic/vigenere-cipher/vigenere-cipher.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmitrymorozoff/algorithms-in-javascript/HEAD/source/cryptographic/vigenere-cipher/vigenere-cipher.js -------------------------------------------------------------------------------- /source/cryptographic/vigenere-cipher/vigenere-cipher.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmitrymorozoff/algorithms-in-javascript/HEAD/source/cryptographic/vigenere-cipher/vigenere-cipher.spec.js -------------------------------------------------------------------------------- /source/hash-table/hash-table.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmitrymorozoff/algorithms-in-javascript/HEAD/source/hash-table/hash-table.js -------------------------------------------------------------------------------- /source/hash-table/linear-hashing/linear-hashing.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmitrymorozoff/algorithms-in-javascript/HEAD/source/hash-table/linear-hashing/linear-hashing.js -------------------------------------------------------------------------------- /source/hash-table/linear-hashing/linear-hashing.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmitrymorozoff/algorithms-in-javascript/HEAD/source/hash-table/linear-hashing/linear-hashing.spec.js -------------------------------------------------------------------------------- /source/heap/binary-heap/binary-heap.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmitrymorozoff/algorithms-in-javascript/HEAD/source/heap/binary-heap/binary-heap.js -------------------------------------------------------------------------------- /source/heap/binary-heap/binary-heap.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmitrymorozoff/algorithms-in-javascript/HEAD/source/heap/binary-heap/binary-heap.spec.js -------------------------------------------------------------------------------- /source/other/fibonacchi/fibonacchi.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmitrymorozoff/algorithms-in-javascript/HEAD/source/other/fibonacchi/fibonacchi.js -------------------------------------------------------------------------------- /source/other/fisher-yates/fisher-yates.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmitrymorozoff/algorithms-in-javascript/HEAD/source/other/fisher-yates/fisher-yates.js -------------------------------------------------------------------------------- /source/other/sieve-of-eratosthenes/sieve-of-eratosthenes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmitrymorozoff/algorithms-in-javascript/HEAD/source/other/sieve-of-eratosthenes/sieve-of-eratosthenes.js -------------------------------------------------------------------------------- /source/other/sieve-of-eratosthenes/sieve-of-eratosthenes.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmitrymorozoff/algorithms-in-javascript/HEAD/source/other/sieve-of-eratosthenes/sieve-of-eratosthenes.spec.js -------------------------------------------------------------------------------- /source/search/binary-search/binary-search.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmitrymorozoff/algorithms-in-javascript/HEAD/source/search/binary-search/binary-search.js -------------------------------------------------------------------------------- /source/search/binary-search/binary-search.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmitrymorozoff/algorithms-in-javascript/HEAD/source/search/binary-search/binary-search.spec.js -------------------------------------------------------------------------------- /source/search/breadth-first-search/breadth-first-search.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmitrymorozoff/algorithms-in-javascript/HEAD/source/search/breadth-first-search/breadth-first-search.js -------------------------------------------------------------------------------- /source/search/linear-search/linear-search.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmitrymorozoff/algorithms-in-javascript/HEAD/source/search/linear-search/linear-search.js -------------------------------------------------------------------------------- /source/search/linear-search/linear-search.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmitrymorozoff/algorithms-in-javascript/HEAD/source/search/linear-search/linear-search.spec.js -------------------------------------------------------------------------------- /source/sorts/bead-sort/bead-sort.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmitrymorozoff/algorithms-in-javascript/HEAD/source/sorts/bead-sort/bead-sort.js -------------------------------------------------------------------------------- /source/sorts/bead-sort/bead-sort.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmitrymorozoff/algorithms-in-javascript/HEAD/source/sorts/bead-sort/bead-sort.spec.js -------------------------------------------------------------------------------- /source/sorts/bubble-sort/bubble-sort.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmitrymorozoff/algorithms-in-javascript/HEAD/source/sorts/bubble-sort/bubble-sort.js -------------------------------------------------------------------------------- /source/sorts/bubble-sort/bubble-sort.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmitrymorozoff/algorithms-in-javascript/HEAD/source/sorts/bubble-sort/bubble-sort.spec.js -------------------------------------------------------------------------------- /source/sorts/counting-sort/counting-sort.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmitrymorozoff/algorithms-in-javascript/HEAD/source/sorts/counting-sort/counting-sort.js -------------------------------------------------------------------------------- /source/sorts/counting-sort/counting-sort.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmitrymorozoff/algorithms-in-javascript/HEAD/source/sorts/counting-sort/counting-sort.spec.js -------------------------------------------------------------------------------- /source/sorts/gnome-sort/gnome-sort.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmitrymorozoff/algorithms-in-javascript/HEAD/source/sorts/gnome-sort/gnome-sort.js -------------------------------------------------------------------------------- /source/sorts/gnome-sort/gnome-sort.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmitrymorozoff/algorithms-in-javascript/HEAD/source/sorts/gnome-sort/gnome-sort.spec.js -------------------------------------------------------------------------------- /source/sorts/odd-even-sort/odd-even-sort.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmitrymorozoff/algorithms-in-javascript/HEAD/source/sorts/odd-even-sort/odd-even-sort.js -------------------------------------------------------------------------------- /source/sorts/odd-even-sort/odd-even-sort.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmitrymorozoff/algorithms-in-javascript/HEAD/source/sorts/odd-even-sort/odd-even-sort.spec.js -------------------------------------------------------------------------------- /source/sorts/quick-sort/quick-sort.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmitrymorozoff/algorithms-in-javascript/HEAD/source/sorts/quick-sort/quick-sort.js -------------------------------------------------------------------------------- /source/sorts/quick-sort/quick-sort.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmitrymorozoff/algorithms-in-javascript/HEAD/source/sorts/quick-sort/quick-sort.spec.js -------------------------------------------------------------------------------- /source/sorts/radix-sort/radix-sort.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmitrymorozoff/algorithms-in-javascript/HEAD/source/sorts/radix-sort/radix-sort.js -------------------------------------------------------------------------------- /source/sorts/radix-sort/radix-sort.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmitrymorozoff/algorithms-in-javascript/HEAD/source/sorts/radix-sort/radix-sort.spec.js -------------------------------------------------------------------------------- /source/sorts/selection-sort/selection-sort.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmitrymorozoff/algorithms-in-javascript/HEAD/source/sorts/selection-sort/selection-sort.js -------------------------------------------------------------------------------- /source/sorts/selection-sort/selection-sort.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmitrymorozoff/algorithms-in-javascript/HEAD/source/sorts/selection-sort/selection-sort.spec.js -------------------------------------------------------------------------------- /source/sorts/solomon-sort/solomon-sort.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmitrymorozoff/algorithms-in-javascript/HEAD/source/sorts/solomon-sort/solomon-sort.js -------------------------------------------------------------------------------- /source/sorts/solomon-sort/solomon-sort.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmitrymorozoff/algorithms-in-javascript/HEAD/source/sorts/solomon-sort/solomon-sort.spec.js -------------------------------------------------------------------------------- /source/structures/doubly-list.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmitrymorozoff/algorithms-in-javascript/HEAD/source/structures/doubly-list.js -------------------------------------------------------------------------------- /source/structures/queue.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmitrymorozoff/algorithms-in-javascript/HEAD/source/structures/queue.js -------------------------------------------------------------------------------- /source/structures/singly-list.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmitrymorozoff/algorithms-in-javascript/HEAD/source/structures/singly-list.js -------------------------------------------------------------------------------- /source/structures/stack.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmitrymorozoff/algorithms-in-javascript/HEAD/source/structures/stack.js -------------------------------------------------------------------------------- /source/trees/binary-tree.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmitrymorozoff/algorithms-in-javascript/HEAD/source/trees/binary-tree.js -------------------------------------------------------------------------------- /source/utils/helpers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmitrymorozoff/algorithms-in-javascript/HEAD/source/utils/helpers.js --------------------------------------------------------------------------------