Commit Graph

1011 Commits

Author SHA1 Message Date
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
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