Commit Graph

334 Commits

Author SHA1 Message Date
Omotayo Obafemi
22ba6f8898
Merge branch 'master' into algorithm/stack_valid_parentheses 2024-08-15 16:06:37 +01:00
Qudratillo
d7a41a6461
feat: added uzbek language (#1082)
Co-authored-by: Oleksii Trekhleb <3000285+trekhleb@users.noreply.github.com>
2024-07-13 21:09:06 +02:00
Mahdi Azarboon
9046d80bdb
Update README.md (#1141)
Before diving into any of the data structures, readers should be reminded of two fundamental laws in software architecture:

1.Everything is a trade-ff
2."Why is more important than the how"

So, readers face the nuances and reality of these data structures from the beginning. These two laws are coined by two thought leaders in software architecture: Mark Richards and Neal Ford. They have explained these two laws in various conference talks and books. For example, here you can read about these two laws here:

https://www.infoq.com/podcasts/software-architecture-hard-parts/


Also, here is a book for reference:
https://a.co/d/fKOodW9

Co-authored-by: Oleksii Trekhleb <3000285+trekhleb@users.noreply.github.com>
2024-07-13 20:58:45 +02:00
Omotayo Obafemi
f5a6e6ccb7 Added algorithm problem that can be solved using stack data structure 2023-10-01 13:21:29 +01:00
Oleksii Trekhleb
76617fa83a
Update README.md 2023-07-21 20:08:01 +02:00
trekhleb
8c5e5f4f0d Add repo size 2023-04-10 18:47:10 +02:00
Oleksii Trekhleb
bbbfd32a45 Update Bakers. 2023-03-25 17:02:02 +01:00
Oleksii Trekhleb
1ad60dc510 Add Bucket Sort. 2023-03-13 14:12:43 +01:00
Oleksii Trekhleb
46aae1d708 Add bakers 2023-02-24 23:04:35 -01:00
Oleksii Trekhleb
bcd1cc1b00
Upgrade packages and Node versions. (#989)
* Upgrade to Node 16

* Upgrade packages and Node versions.
2023-01-30 08:19:38 +01:00
Oleksii Trekhleb
1d6249d552 Update README. 2023-01-27 08:05:56 +01:00
Oleksii Trekhleb
e4f2ccdbec
Add an example of the LRU (Least Recently Used) Cache implementation (#980)
* Add an example of the LRU Cache implementation.

* Promote the node on set() as well.

* Add LRU Cache images.
2023-01-23 18:03:40 +01:00
Oleksii Trekhleb
65e4a7c8b3
Adding a simple cascading solution to generate a Power Set (#975)
* Add a simple cascading version of generating a PowerSet.

* Update README.

* Update README.

* Update README.
2023-01-06 14:37:36 +01:00
j0pgrm
2a6f724589
Malay readme (#927)
* update-readme

* deploy

* deploy

Co-authored-by: name <your mail>
Co-authored-by: Oleksii Trekhleb <trehleb@gmail.com>
2022-12-05 07:59:33 +01:00
Berkay
8e4225ac71
Update README.md (#953)
Co-authored-by: Oleksii Trekhleb <trehleb@gmail.com>
2022-11-10 15:04:50 +01:00
Oleksii Trekhleb
c4164bf224
Update README.md 2022-10-21 22:21:11 +02:00
Oleksii Trekhleb
d3c0ee6f7a
Update README.md 2022-09-21 09:12:46 +02:00
Oleksii Trekhleb
ebfe961f0f
Update README.md 2022-09-21 09:10:09 +02:00
Oleksii Trekhleb
4d2d7189c6
Add a link to minimalistic data structure sketches. (#933) 2022-08-30 09:26:36 +02:00
Oleksii Trekhleb
28b43226a4
Update README.md 2022-07-02 17:50:13 +02:00
Oleksii Trekhleb
cb7afe18ef
Update README.md 2022-03-12 17:46:09 +01:00
Oleksii Trekhleb
cd34b52e22
Update README.md 2022-03-12 17:45:45 +01:00
Oleksii Trekhleb
b2427d0e18 Help Ukraine 2022-03-01 18:31:32 +01:00
Oleksii Trekhleb
c89388445e Help Ukraine 2022-03-01 18:26:25 +01:00
Oleksii Trekhleb
82f0b5edf0 Add a Divide and Conquer version of the MaxSubArray problem. 2022-02-04 08:56:15 +01:00
Trang Nguyen
945e7c384e
Add Vietnamese translation (#667)
Co-authored-by: Oleksii Trekhleb <trehleb@gmail.com>
2022-01-27 20:52:47 +01:00
Oleksii Trekhleb
1216d00937 Restructure the Big O Notation table. 2022-01-26 20:53:22 +01:00
rmagillxyz
2a49b7045a
Add type name to Big O table (#717) 2022-01-26 20:38:56 +01:00
Oleksii Trekhleb
90addf9b18 Code/README fixes for the "Palindrome Check". 2022-01-23 21:47:57 +01:00
liamlylehr
ea28788ed8
added palindromeCheck (#806)
* added readme

* added readme

* adding palindromeCheck

* adjusted README

Co-authored-by: Oleksii Trekhleb <trehleb@gmail.com>
2022-01-23 21:42:43 +01:00
Oleksii Trekhleb
9bb60fa72f Add the Genetic Algorithm example. 2021-10-28 21:10:23 +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
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
Deniz Binay
64abcf12f2
add german translation for main readme (#703) 2021-05-06 06:46:04 +02:00
Oleksii Trekhleb
912941be1d Add troubleshooting instructions. 2021-04-21 17:30:49 +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
4eb66047ed Add Arabic translation. 2021-01-03 10:34:41 +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
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
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
cfba1d9954 Add Rail Fence Cipher. 2020-12-20 19:57:51 +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
c755110eb1 Adding Bahasa Indonesia. 2020-12-20 13:01:46 +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
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