儿时
dd3cbe1bfd
Add Chinese Translation ( #815 )
...
Co-authored-by: Oleksii Trekhleb <trehleb@gmail.com>
2022-01-22 10:21:37 +01:00
Seymur
53781db275
Null Reference Exception ( #817 )
...
When `n.next = tail` is true, we assign `n` to `tail` and `null` to `tail.next`, so `n.next` also becomes `null`. Then we assign `n.next.next` (because now `n.next` is `null`), we try to get `next` of `null`. That is why we should add an `else` case to check if `n.next` is not equal to `tail`.
Co-authored-by: Oleksii Trekhleb <trehleb@gmail.com>
2022-01-22 10:19:14 +01:00
ilkererkek
47048202fd
Fixed typos in the turkish and added descriptions ( #816 )
...
Co-authored-by: Oleksii Trekhleb <trehleb@gmail.com>
2022-01-22 10:13:29 +01:00
Hyewon Kwak
41ace46d48
fixed: fixed error in linked list README.ko-KR ( #820 )
...
Co-authored-by: Oleksii Trekhleb <trehleb@gmail.com>
2022-01-22 10:11:41 +01:00
Gérley Adriano
1b6a6d5812
Addition of slight grammatical corrections ( #828 )
...
Addition of slight grammatical corrections to documentation in PT-BR
Co-authored-by: Oleksii Trekhleb <trehleb@gmail.com>
2022-01-22 10:09:38 +01:00
Israel Teneda
5d57f1db24
FIx some typos in Spanish Readme ( #829 )
...
Fix some typos and translate last quote line to Spanish
Co-authored-by: Oleksii Trekhleb <trehleb@gmail.com>
2022-01-22 10:08:30 +01:00
Elif
5cb7e38299
docs: add README.tr-TR.md ( #833 )
...
* docs: added Turkish translation of Heap (data structures) algorithm
* docs: removed other languages section from translation file
Co-authored-by: Oleksii Trekhleb <trehleb@gmail.com>
2022-01-22 10:05:55 +01:00
William Joao Cubillos Quintero
3372666d32
Update README.es-ES.md ( #836 )
...
spelling mistake
Co-authored-by: Oleksii Trekhleb <trehleb@gmail.com>
2022-01-22 10:03:57 +01:00
Oleksii Trekhleb
7d8d3977a2
Upgrade dependencies. ( #841 )
2022-01-22 09:58:38 +01:00
Oleksii Trekhleb
9bb60fa72f
Add the Genetic Algorithm example.
2021-10-28 21:10:23 +02:00
Oleksii Trekhleb
de496a2545
Update the cover for Weighted Random algorithm.
2021-10-22 18:15:44 +02:00
Oleksii Trekhleb
683722170b
Update the cover for Weighted Random algorithm.
2021-10-22 14:05:31 +02:00
Oleksii Trekhleb
17bfb551c0
Add Weighted Random cover.
2021-10-22 10:16:37 +02:00
Oleksii Trekhleb
99945f30de
Add the "Weighted Random" algorithm ( #792 )
...
* Add the link to the Weighted Random algorithm to the main README.
* Add Weighted Random implementation and tests.
* Add Weighted Random README.
* Add Weighted Random README.
* Add Weighted Random README.
2021-10-22 09:56:44 +02:00
Oleksii Trekhleb
d0576a2594
Upgrade dependencies. ( #790 )
2021-10-18 18:02:40 +02:00
Oleksii Trekhleb
4548296aff
Binary representation of the floating-point numbers.
2021-07-26 11:55:40 +02:00
Oleksii Trekhleb
2ad5617a4b
Binary representation of the floating-point numbers.
2021-07-26 07:44:21 +02:00
Oleksii Trekhleb
71da6df633
Binary representation of the floating-point numbers.
2021-07-26 07:43:07 +02:00
Oleksii Trekhleb
badf301ba5
Binary representation of the floating-point numbers.
2021-07-16 14:39:35 +02:00
Oleksii Trekhleb
b2d1ec83f0
Binary representation of floating-point numbers ( #737 )
...
* Add "Binary representation of floating point numbers" section.
* Adding a half-precision explanatory picture.
* Binary representation of the floating-point numbers.
2021-07-16 11:51:53 +02:00
Oleksii Trekhleb
433515f1b2
Fix typo in READMEs.
2021-05-26 10:55:57 +02:00
Oleksii Trekhleb
ee35bd6240
Testing Codecov integration without web-hooks.
2021-05-26 10:29:05 +02:00
Oleksii Trekhleb
6d2d8c9379
Testing Codecov integration without web-hooks.
2021-05-18 08:44:13 +02:00
Oleksii Trekhleb
8a24fbfac9
Adding more details on how to run the playground code to address the issue #705 .
2021-05-14 09:56:18 +02:00
Oleksii Trekhleb
cb50e4e9f3
Add link to Spanish translation in Doubly-Linked list README.
2021-05-06 07:05:27 +02:00
CodingInvoker
22b323e6b1
update linkedlist comment ( #687 )
...
Co-authored-by: Jiachen Zhou <jiachen.zhou@rea-group.com>
Co-authored-by: Oleksii Trekhleb <trehleb@gmail.com>
2021-05-06 07:02:52 +02:00
Freivin Campbell
5ffab573ca
Create README.es-ES.md ( #680 )
...
new translation added
2021-05-06 07:00:10 +02:00
justforever
464a84bc7c
Update README.zh-TW.md ( #690 )
2021-05-06 06:56:40 +02:00
Deniz Binay
64abcf12f2
add german translation for main readme ( #703 )
2021-05-06 06:46:04 +02:00
Coco Guerra
d38cecd2e7
Update README.es-ES.md ( #704 )
...
* Update README.es-ES.md
* Update README.es-ES.md
2021-05-06 06:43:28 +02:00
Oleksii Trekhleb
7ad3fbc0f9
Disabling tests in pre-commit to speed up the commits.
2021-04-21 18:09:48 +02:00
Oleksii Trekhleb
912941be1d
Add troubleshooting instructions.
2021-04-21 17:30:49 +02:00
Oleksii Trekhleb
4ca41ea83b
Testing Husky integration
2021-04-21 17:12:53 +02:00
Oleksii Trekhleb
f7d07ae66d
Testing Husky integration
2021-04-21 17:09:59 +02:00
Oleksii Trekhleb
144b686776
Testing Husky integration
2021-04-21 16:55:26 +02:00
Oleksii Trekhleb
cfd9a630ff
Test that two images are identical for the Seam Carving algorithm. ( #694 )
...
* Test that two images are identical for the Seam Carving algorithm.
* Tune the Seam Carving tests.
* Tune the Seam Carving tests.
* Tune the Seam Carving tests.
* Tune the Seam Carving tests.
2021-04-21 07:39:58 +02:00
Oleksii Trekhleb
f0b246a521
Adding a Seam Carving algorithm with Dynamic Programming implementation. ( #693 )
...
* Adding a Seam Carving algorithm with Dynamic Programming implementation.
* Adding a Seam Carving algorithm with Dynamic Programming implementation.
* Adding a Seam Carving algorithm with Dynamic Programming implementation.
* Testing Husky integration.
* Testing Husky integration.
2021-04-20 17:47:33 +02:00
Oleksii Trekhleb
028ffa6e9a
Getting rid of "React version not specified" warning while linting.
2021-04-20 07:18:24 +02:00
Oleksii Trekhleb
83357075c4
Add Chinese translation for Math sections.
2021-01-03 10:45:41 +01:00
董凯
848dc351f9
Add chinesre translation. ( #615 )
...
* Add chinesre translation of math/bits README.md
* Add chinese translation of math/fibonacii README.md
* Add chinesre translation of math/prime-factors README.md
* fix
* fix
Co-authored-by: zackdk <zackvvzackvv@gmail.com>
Co-authored-by: Oleksii Trekhleb <trehleb@gmail.com>
2021-01-03 10:42:12 +01:00
Oleksii Trekhleb
89a8614009
Add Arabic translation.
2021-01-03 10:37:11 +01:00
Oleksii Trekhleb
4eb66047ed
Add Arabic translation.
2021-01-03 10:34:41 +01:00
Austin Theriot
cf61af59c5
optimized for loop & corrected comments ( #617 )
...
The existing insertion sort implementation began by iterating from
0 until the end of the array, but it is only necessary to
iterate from 1 until the end of the array, since at the
0th index, there is nothing to compare to the left of
the element.
In order to complete this change, I also had to update the tests
to reflect the fact that the algorithm visits each index 1 less
time.
Finally, I corrected the grammar/wording of the comments.
Co-authored-by: Oleksii Trekhleb <trehleb@gmail.com>
2021-01-03 10:26:14 +01:00
Abdessamad Bensaad
81240342c2
Add an Arabic version of the README file ( #622 )
...
* add the DS link
* Finish translating math
* add Arabic version of the README FILE
* add Arabic version of the README FILE
* add the arabic readme file link to main readme file
* add the arabic readme file link to main readme file
* add the arabic readme file link to main readme file
Co-authored-by: Oleksii Trekhleb <trehleb@gmail.com>
2021-01-03 10:23:17 +01:00
Oleksii Trekhleb
a0a9c35e3f
Update Bakers.
2021-01-02 13:49:00 +01:00
Oleksii Trekhleb
711204f13a
Update CI workflow.
2020-12-28 09:16:33 +01:00
Oleksii Trekhleb
3bc8f108d6
Merge branch 'master' of https://github.com/trekhleb/javascript-algorithms into merge
2020-12-23 19:01:03 +01:00
Yanina Trekhleb
d35cfba32d
Add Ukrainian translation of the main README file. ( #613 )
...
* Add ukrainian translate.
* Error correction.
* Add a link to UA version to all README.file.
2020-12-23 19:00:36 +01:00
Oleksii Trekhleb
2c213c4be3
Merge branch 'master' of https://github.com/trekhleb/javascript-algorithms into merge
2020-12-23 17:25:52 +01:00
Oleksii Trekhleb
2bbe12b83b
Add divide and conquer example: best time to buy and sell stocks ( #612 )
...
* Add divide and conquer example: best time to buy and sell stocks.
* Add divide and conquer example: best time to buy and sell stocks.
* Add dynamic programming version.
2020-12-23 17:24:49 +01:00