Commit Graph

1110 Commits

Author SHA1 Message Date
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
Oleksii Trekhleb
94afab0dd9 Add test coverage thresholds. 2020-12-15 10:15:37 +01:00
Oleksii Trekhleb
d470fa13ba Update the Build badge to show the info from GitHub actions. 2020-12-15 08:04:46 +01:00
Oleksii Trekhleb
39a5fa5758 Update the main branch for GitHub actions. 2020-12-15 07:57:35 +01:00
Oleksii Trekhleb
ead275d08f Delete Travis yml. 2020-12-15 07:56:29 +01:00
Oleksii Trekhleb
4094242515 Add GitHub workflow. 2020-12-15 07:54:58 +01:00
Oleksii Trekhleb
1b0e27ab86 Add getValues() method to HashTable and update LinkedList READMEs. 2020-12-11 09:14:48 +01:00
JD Medina
46daaf51c5
Modify HashTable (#447)
Add a getValues() method to the HashTable data structure
2020-12-11 08:54:37 +01:00
Eugene Sinitsyn
c3d22956b7
Fix typo (#459) 2020-12-11 08:51:13 +01:00
Donghoon Song
6e95b0cee7
Update README.ko-KR.md (#466) 2020-12-11 08:48:57 +01:00
Hanseung Yoo
97dd96aa75
Add doubly-linked-list doc in Korean (#449) 2020-12-11 08:45:54 +01:00
Oleksii Trekhleb
30ef6a30e1 Add prime factors calculation. 2020-12-11 08:37:06 +01:00