Skip to content

[pull] master from trekhleb:master #33

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Dec 9, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion README.es-ES.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ _Léelo en otros idiomas:_
[_Polski_](README.pl-PL.md),
[_Français_](README.fr-FR.md),
[_Português_](README.pt-BR.md),
[_Türk_](README.tr-TR.md)
[_Русский_](README.ru-RU.md),
[_Türk_](README.tr-TR.md),
[_Italiana_](README.it-IT.md)

*☝ Nótese que este proyecto está pensado con fines de aprendizaje e investigación,
y **no** para ser usado en producción.*
Expand Down
4 changes: 3 additions & 1 deletion README.fr-FR.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ _Lisez ceci dans d'autres langues:_
[_Polski_](README.pl-PL.md),
[_Español_](README.es-ES.md),
[_Português_](README.pt-BR.md),
[_Türk_](README.tr-TR.md)
[_Русский_](README.ru-RU.md),
[_Türk_](README.tr-TR.md),
[_Italiana_](README.it-IT.md)

## Data Structures

Expand Down
295 changes: 295 additions & 0 deletions README.it-IT.md

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion README.ja-JP.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ _Read this in other languages:_
[_Français_](README.fr-FR.md),
[_Español_](README.es-ES.md),
[_Português_](README.pt-BR.md),
[_Türk_](README.tr-TR.md)
[_Русский_](README.ru-RU.md),
[_Türk_](README.tr-TR.md),
[_Italiana_](README.it-IT.md)

## データ構造

Expand Down
4 changes: 3 additions & 1 deletion README.ko-KR.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ _Read this in other languages:_
[_Français_](README.fr-FR.md),
[_Español_](README.es-ES.md),
[_Português_](README.pt-BR.md),
[_Türk_](README.tr-TR.md)
[_Русский_](README.ru-RU.md),
[_Türk_](README.tr-TR.md),
[_Italiana_](README.it-IT.md)

## 자료 구조

Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,12 @@ _Read this in other languages:_
[_Français_](README.fr-FR.md),
[_Español_](README.es-ES.md),
[_Português_](README.pt-BR.md),
[_Türk_](README.tr-TR.md)
[_Русский_](README.ru-RU.md),
[_Türk_](README.tr-TR.md),
[_Italiana_](README.it-IT.md)

*☝ Note that this project is meant to be used for learning and researching purposes
only and it is **not** meant to be used for production.*
only, and it is **not** meant to be used for production.*

## Data Structures

Expand Down
4 changes: 3 additions & 1 deletion README.pl-PL.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ _Read this in other languages:_
[_Français_](README.fr-FR.md),
[_Español_](README.es-ES.md),
[_Português_](README.pt-BR.md),
[_Türk_](README.tr-TR.md)
[_Русский_](README.ru-RU.md),
[_Türk_](README.tr-TR.md),
[_Italiana_](README.it-IT.md)

## Struktury Danych

Expand Down
6 changes: 4 additions & 2 deletions README.pt-BR.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@ _Leia isto em outros idiomas:_
[_Polski_](README.pl-PL.md),
[_Français_](README.fr-FR.md),
[_Español_](README.es-ES.md),
[_Türk_](README.tr-TR.md)
[_Русский_](README.ru-RU.md),
[_Türk_](README.tr-TR.md),
[_Italiana_](README.it-IT.md)

## Data Structures
## Estrutura de Dados

Uma estrutura de dados é uma maneira particular de organizar e armazenar dados em um computador para que ele possa
ser acessado e modificado de forma eficiente. Mais precisamente, uma estrutura de dados é uma coleção de dados
Expand Down
293 changes: 293 additions & 0 deletions README.ru-RU.md

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion README.tr-TR.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ _Read this in other languages:_
[_Polski_](README.pl-PL.md),
[_Français_](README.fr-FR.md),
[_Español_](README.es-ES.md),
[_Português_](README.pt-BR.md)
[_Português_](README.pt-BR.md),
[_Русский_](README.ru-RU.md),
[_Italiana_](README.it-IT.md)

*☝ Not, bu proje araştırma ve öğrenme amacı ile yapılmış
olup üretim için **yaplılmamıştır**.*
Expand Down
4 changes: 3 additions & 1 deletion README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ _Read this in other languages:_
[_Français_](README.fr-FR.md),
[_Español_](README.es-ES.md),
[_Português_](README.pt-BR.md),
[_Türk_](README.tr-TR.md)
[_Русский_](README.ru-RU.md),
[_Türk_](README.tr-TR.md),
[_Italiana_](README.it-IT.md)

*注意:这个项目仅用于学习和研究,**不是**用于生产环境。*

Expand Down
4 changes: 3 additions & 1 deletion README.zh-TW.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ _Read this in other languages:_
[_Français_](README.fr-FR.md),
[_Español_](README.es-ES.md),
[_Português_](README.pt-BR.md),
[_Türk_](README.tr-TR.md)
[_Русский_](README.ru-RU.md),
[_Türk_](README.tr-TR.md),
[_Italiana_](README.it-IT.md)

## 資料結構

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import BinaryTreeNode from '../../../../data-structures/tree/BinaryTreeNode';
import breadthFirstSearch from '../breadthFirstSearch';

describe('breadthFirstSearch', () => {
it('should perform DFS operation on tree', () => {
it('should perform BFS operation on tree', () => {
const nodeA = new BinaryTreeNode('A');
const nodeB = new BinaryTreeNode('B');
const nodeC = new BinaryTreeNode('C');
Expand Down
2 changes: 1 addition & 1 deletion src/data-structures/tree/red-black-tree/RedBlackTree.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ export default class RedBlackTree extends BinarySearchTree {
parentNode.parent = null;
}

// Swap colors of granParent and parent nodes.
// Swap colors of grandParentNode and parentNode.
this.swapNodeColors(parentNode, grandParentNode);

// Return new root node.
Expand Down