Commit Graph

1071 Commits

Author SHA1 Message Date
Oleksii Trekhleb
1c1b244d97 Add dynamic programming version. 2020-12-23 17:19:53 +01:00
Oleksii Trekhleb
79cf9eb434 Add divide and conquer example: best time to buy and sell stocks. 2020-12-23 17:04:02 +01:00
Oleksii Trekhleb
4973392cb9 Add divide and conquer example: best time to buy and sell stocks. 2020-12-23 17:01:13 +01:00
Oleksii Trekhleb
e71dc8dc16 Update dependencies. 2020-12-22 17:08:53 +01:00
Oleksii Trekhleb
bc53ba7362 Update dependencies. 2020-12-22 17:04:51 +01:00
dependabot[bot]
37871171a5
Bump node-notifier from 8.0.0 to 8.0.1 (#607)
Bumps [node-notifier](https://github.com/mikaelbr/node-notifier) from 8.0.0 to 8.0.1.
- [Release notes](https://github.com/mikaelbr/node-notifier/releases)
- [Changelog](https://github.com/mikaelbr/node-notifier/blob/v8.0.1/CHANGELOG.md)
- [Commits](https://github.com/mikaelbr/node-notifier/compare/v8.0.0...v8.0.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-22 16:59:06 +01:00
Oleksii Trekhleb
4b6c601158 Add Spanish link for the Linked List README. 2020-12-20 20:18:12 +01:00
Oleksii Trekhleb
88cef5f548 Merge branch 'merge' of https://github.com/trekhleb/javascript-algorithms into merge 2020-12-20 20:16:48 +01:00
Javier Saviñon
148f9179c9
Linked List Spanish Traslation (#409)
* Linked List Spanish Traslation

* Rename the CI workflow file.

Co-authored-by: Oleksii Trekhleb <trehleb@gmail.com>
2020-12-20 20:16:35 +01:00
Oleksii Trekhleb
c44bb91ec4 Merge branch 'merge' of https://github.com/trekhleb/javascript-algorithms into merge 2020-12-20 20:09:37 +01:00
Yura Sherman
e076203590
Fix a grammar mistake (#396) 2020-12-20 20:09:09 +01:00
Go
f617569760
fix typo (#350) 2020-12-20 20:06:36 +01:00
Brandon Villa
fa1f930c99
Add missing step (#345) 2020-12-20 20:05:18 +01:00
Andy Chen
521e0a9bbd
Remove a extra space (#291) 2020-12-20 20:00:44 +01:00
Oleksii Trekhleb
86dea85d97 Merge branch 'merge' of https://github.com/trekhleb/javascript-algorithms into merge 2020-12-20 19:57:59 +01:00
Oleksii Trekhleb
cfba1d9954 Add Rail Fence Cipher. 2020-12-20 19:57:51 +01:00
Sagid M
2794445f95
Add the word "set" to avoid misinterpretation in description (#286)
* Add word to avoid misinterpretation

* Rename the CI workflow file.

Co-authored-by: Sagid Magomedov <sagid-m@yandex-team.ru>
Co-authored-by: Oleksii Trekhleb <trehleb@gmail.com>
2020-12-20 19:57:03 +01:00
Oleksii Trekhleb
71db2d27b2 Merge branch 'master' of https://github.com/trekhleb/javascript-algorithms into merge 2020-12-20 18:41:46 +01:00
João Pedro Raskopf
9641940fd7
Add rail fence cipher (#516)
* Add rail fence cipher encoder & decoder

* Add functions to encode & decode strings using the rail fence cipher method
* Add unit tests covering empty strings, pair & odd number of characters in the input string, n=3 & n=4
* Add a README.md for the algorithm
* Update root README.md to link to the new algorithm

* Rename the CI workflow file.

Co-authored-by: Oleksii Trekhleb <trehleb@gmail.com>
2020-12-20 18:40:22 +01:00
Oleksii Trekhleb
22abc6f808 Rename the CI workflow file. 2020-12-20 13:05:41 +01:00
Oleksii Trekhleb
c755110eb1 Adding Bahasa Indonesia. 2020-12-20 13:01:46 +01:00
Adjie Djaka Permana
4bc7273426
feat(lang): add README.id-ID.md translation for Bahasa Indonesia (#603) 2020-12-20 12:52:01 +01:00
Oleksii Trekhleb
569fd95bd0 Simplify k-Means clustering algorithm. 2020-12-19 21:13:11 +01:00
Avi Agrawal
b7cd425ce9
Added kmeans clustering (#595)
* added kmeans

* added kmeans

* added kmeans

Co-authored-by: Oleksii Trekhleb <trehleb@gmail.com>
2020-12-19 19:36:08 +01:00
Oleksii Trekhleb
90ec1b76d0 Merge branch 'master' of https://github.com/trekhleb/javascript-algorithms into merge 2020-12-19 19:35:31 +01:00
Oleksii Trekhleb
636ebe1e26 Adding the Matrix traversal and generation to the Divide and Conquer section. 2020-12-19 19:33:35 +01:00
Oleksii Trekhleb
3e5ddb8143 Adding the Matrix traversal and generation to the Divide and Conquer section. 2020-12-19 19:32:57 +01:00
Oleksii Trekhleb
eb97f738ac Merge branch 'master' of https://github.com/trekhleb/javascript-algorithms into merge 2020-12-19 19:26:52 +01:00
Oleksii Trekhleb
adda5c53b3
Add Euclidean Distance formula (#602)
* Add Matrices section with basic Matrix operations (multiplication, transposition, etc.)

* Add Euclidean Distance algorithm.
2020-12-19 19:26:02 +01:00
Oleksii Trekhleb
610f16fe20 Add Euclidean Distance algorithm. 2020-12-19 19:21:32 +01:00
Oleksii Trekhleb
59666ac947 Merge branch 'master' of https://github.com/trekhleb/javascript-algorithms into merge 2020-12-19 18:49:21 +01:00
Oleksii Trekhleb
8d52ae5d03
Add Matrices section with basic Matrix operations (multiplication, transposition, etc.) (#600) 2020-12-19 18:48:10 +01:00
Oleksii Trekhleb
2c81debb47 Add Matrices section with basic Matrix operations (multiplication, transposition, etc.) 2020-12-19 18:45:14 +01:00
Oleksii Trekhleb
e220450d7d Code style fixes. 2020-12-17 09:49:57 +01:00
Luan Caldas
de1cc0b047
Translate pt-BR (#386)
Co-authored-by: Oleksii Trekhleb <trehleb@gmail.com>
2020-12-17 09:49:11 +01:00
Alexander Belov
d87502b5fd
Update README.md (#385)
Co-authored-by: Oleksii Trekhleb <trehleb@gmail.com>
2020-12-17 09:48:43 +01:00
lvzhenbang
536f75a52f
update desc (#371)
* update desc

* text error
2020-12-17 09:48:19 +01:00
Askhat Arslanov
431560a4e5
Translate Linked List Traversal to Russian (#283)
Co-authored-by: Askhat <caelestes961@gmail.com>
2020-12-17 09:40:05 +01:00
Oleg Maslov
07c21083d6
Add missing LinkedList tests (#151)
Co-authored-by: Oleksii Trekhleb <trehleb@gmail.com>
2020-12-17 09:36:00 +01:00
Oleksii Trekhleb
38b2b977cd Add Hill Cipher. 2020-12-17 09:27:32 +01:00
Oleksii Trekhleb
52fbc8a80f Add Hill Cipher. 2020-12-17 08:58:26 +01:00
Oleksii Trekhleb
d899ae1484 Add more details and example to Hill cipher README. 2020-12-17 08:07:26 +01:00
Sherlyn
9929ab7fc1
add hillCipher at cryptography section (#424)
* add hillCipher.js and its test case first commit

* add README.md

* update style

Co-authored-by: Oleksii Trekhleb <trehleb@gmail.com>
2020-12-17 07:26:21 +01:00
Oleksii Trekhleb
e105460cd6 Update CI badge to point to the master branch status. 2020-12-16 17:56:57 +01:00
Oleksii Trekhleb
4623bb906f Add k-nearest neighbors algorithm. 2020-12-16 08:07:08 +01:00
Oleksii Trekhleb
b13291df62 Trim trailing whitespaces. 2020-12-16 06:49:10 +01:00
Avi Agrawal
871d20d868
Adding K Nearest Neighbor to ML folder in algorithms with README and tests (#592)
* Updated KNN and README

* Update README.md

* new

* new

* updated tests

* updated knn coverage
2020-12-16 06:44:56 +01:00
Oleksii Trekhleb
802557f1ac Update translation for Bubble Sort. 2020-12-15 18:56:09 +01:00
José Vinícius Lacerda de Arruda
82cf0e6d58
Creating a explanation of Bubblesort in portuguese (#423)
Co-authored-by: Oleksii Trekhleb <trehleb@gmail.com>
2020-12-15 18:52:43 +01:00
bhaltair
ae225741fa
Update README.zh-CN.md (#439) 2020-12-15 18:44:44 +01:00