Commit Graph

237 Commits

Author SHA1 Message Date
Ly
c093fe4224
fix: three errors (#487) 2020-08-21 07:23:44 +02:00
Oleg Khobotov
5a3806ff81
Update README.ru-RU.md (#530)
There is an error in deletion complexity
2020-08-21 07:08:27 +02:00
Oleksii Trekhleb
929b210b8e Minor fixes. 2020-08-09 14:16:42 +02:00
Ly
2444b9740b
fix: 0->ø (#486) 2020-08-09 14:13:36 +02:00
Boardens
95641c8aaf
Add french translation for some chapters (#520)
* Create README.fr-FR.md

* Translate to french "Priority Queue" module

* Add english lang redirection

* Update README.fr-FR.md

* Update README.fr-FR.md

* Add French lang version redir

* Create README.fr-FR.md

* Added french translation for Queue

* Added French lang redir

* Update README.md

* Create README.fr-FR.md

* Add french translation

* Index french translation

* Create README.fr-FR.md

* Add french translation

* Index french translation

* Fix translation

* Create README.fr-FR.md

* Add french translation

* Index french translation

* Add wikipedia french reference

* Add french wikipedia reference
2020-08-09 14:10:15 +02:00
Chao Zhang
e54a3df231
Fix README typo (#524) 2020-08-08 11:45:15 +02:00
Suraj Jadhav
194f2133af
Adding inequality conditions (#489)
A quick fix to add inequality conditions wherever needed.

Co-authored-by: Oleksii Trekhleb <trehleb@gmail.com>
2020-07-26 13:19:28 +02:00
Oleksii Trekhleb
63f5a27152 Upgrade dependencies and fix ESLint issues. 2020-07-26 13:06:15 +02:00
Marcelo-Rodrigues
b3b8d4d3e8
Fix portuguese translation of graph on README (#503) 2020-07-15 06:46:31 +02:00
Oleksii Trekhleb
e954d6d0f3 pt-BR translations fixes. 2019-04-16 18:05:39 +03:00
Marcos Gonçalves
ed99f9d216 Adds Portuguese (pt-BR) translation (#340)
* create portuguese translations

* renames `Lista Ligada` to `Lista Encadeada`

* revert changes on package-lock.json
2019-04-16 17:47:04 +03:00
Oleksii Trekhleb
1520533d11 Fix issue #315. 2019-04-12 09:02:03 +03:00
Nilton Lopes
8590d7ad43 Update README.pt-BR.md (#335)
Improving translate
2019-04-12 08:35:37 +03:00
matsuge
2632a3a683 Add Japanese translation (#1) (#337)
* add japanese translation

* fix typo
2019-04-12 08:32:08 +03:00
Oleksii Trekhleb
4aecd5772f Fix README typos. 2019-03-22 07:47:39 +02:00
Stulov Alex
43e1cca3e6 Translate Bloom filter into Russian. (#320) 2019-03-22 07:36:35 +02:00
Stulov Alex
e286a92d8d Feature/translate trie (#324)
* Translate trie into Russian.

* Add image description.
2019-03-22 07:32:44 +02:00
linghuam
3eab9eef40 some mistakes in delete method and time comlexity (#322) 2019-03-22 07:29:50 +02:00
lisq
db83ec20ec Update README.zh-CN.md (#326) 2019-03-22 07:28:12 +02:00
Nilton Lopes
d569102f06 Update README.md (#331)
Adding link to read in portuguese :)
2019-03-22 07:27:12 +02:00
Nilton Lopes
c510775f39 Translated to portuguese (#330) 2019-03-22 07:25:48 +02:00
Stulov Alex
38d0ccc222 Translate disjoint set into Russian. (#321) 2019-03-22 07:18:18 +02:00
Cloudyan
8ab965b483 Update README.md (#316) 2019-03-08 13:05:50 +02:00
Masato Ohba
d267bd6e30 Fix typo: yeild => yield (#309)
```shell
ag -l yeild |  xargs sed -i '' -e 's/yeild/yield/g'
```
2019-03-08 13:02:15 +02:00
Stulov Alex
c672f1ff30 Translate hash table into Russian. Add links from English file to translations. (#318) 2019-03-08 12:52:53 +02:00
Stulov Alex
0aa63ff42a Translate heap into Russian. Add links to main README file. (#317) 2019-03-08 12:50:40 +02:00
Stulov Alex
94d7614001 Translate graph into Russian. (#319) 2019-03-08 12:47:09 +02:00
Oleksii Trekhleb
8ea21a66c9 Make it possible to use objects in priority queue. 2019-03-03 10:10:19 +02:00
KeiSei
6261d0e9bb [Fix] Capitalization issues of doubly linked list. (#282) 2019-01-04 16:38:58 +02:00
Stulov Alex
2bf2cd906a Translate Priority Queue. (#279) 2018-12-28 16:28:44 +02:00
Stulov Alex
9e7ef3680a Translate Queue into Russian. (#278) 2018-12-28 16:27:14 +02:00
Stulov Alex
d67db50a3b Translate stack into Russian. (#277) 2018-12-28 16:25:36 +02:00
Stulov Alex
f53eb17665 Translate DoublyLinkedList. (#276) 2018-12-28 16:21:51 +02:00
Oleksii Trekhleb
db6fcb289a Fix LinkedList translations. 2018-12-28 07:17:21 +02:00
Stulov Alex
90d8a3f6fc Translate into Russian (#275)
* Translate LinkedList README in Russian.

* Translate missed sentence. Add link to Chinese README.
2018-12-28 07:13:01 +02:00
Whales
98eb9aebff fix wrong words (#273) 2018-12-28 07:03:39 +02:00
RequireSun
3844e9f1da fix: correct the wrong code of Deletion (#263) 2018-12-11 06:00:22 +02:00
Oleksii Trekhleb
8473562b7e Fix broken links for AVL tree README. 2018-12-10 18:37:13 +02:00
Oleksii Trekhleb
afa3346c48 Code style updates for DoublyLinkedList tests. 2018-12-09 17:07:13 +02:00
YuqiangZhang
c18d119a6a fixed doubly-linked-list reverse method omit change node's previous (#257) 2018-12-09 17:03:47 +02:00
Oleksii Trekhleb
f7ebddc82d Remove duplicated methods from Graph class. 2018-11-26 06:30:56 +02:00
catchme
fad170cfc8 fix typo error (#228) 2018-10-18 06:19:46 +03:00
kiinlam
044441e259 Add prepend and fix bug (#227)
Add prepend operation and fix some mistake in pseudocode.
2018-10-17 06:08:34 +03:00
Oleksii Trekhleb
afa4948767 Simplify AVL tree node deletion. 2018-09-24 09:45:31 +03:00
Hafidz Jazuli Luthfi
04e533e4b5 Add remove method (#33)
Remove node in AvlTree with auto balancing.

Fix issue: https://github.com/trekhleb/javascript-algorithms/issues/13
2018-09-24 09:12:38 +03:00
Yavorski
9f3561d291 Fix Stack pop comlexity to be O(1) (#214)
* By definition Stack push/pop time complexity should be O(1).
* Fix is applied by removing head instead of tail in pop method.
* Push method now do preprend instead of append.
* Fix consistency between toString and toArray methods.
2018-09-24 07:31:18 +03:00
Vinicius
1a62078f26 Improve JSDocs in Stack.js (#203)
The functions' comments were copied from Queue.js, but some words were not replaced.
I also made some changes to the wording for clarification.
2018-09-08 22:35:24 +03:00
Oleksii Trekhleb
6f27113993 Add reverse() method for doubly linked list. 2018-09-08 22:25:23 +03:00
Oleksii Trekhleb
80ecbe0b3e Move linked list traversals into separate section. 2018-09-08 22:20:52 +03:00
Oleksii Trekhleb
2feec48ea6 Add more test cases for linked list reversion. 2018-09-08 12:16:15 +03:00