diff --git a/src/data-structures/stack/README.fr-FR.md b/src/data-structures/stack/README.fr-FR.md index 5e9a95c8..0d6c3886 100644 --- a/src/data-structures/stack/README.fr-FR.md +++ b/src/data-structures/stack/README.fr-FR.md @@ -20,7 +20,9 @@ autres articles en premier. Représentation simple de l'éxecution d'une pile avec des opérations empiler (push) et dépiler (pop). -![Stack](https://upload.wikimedia.org/wikipedia/commons/b/b4/Lifo_stack.png) +![Stack](./images/stack.jpeg) + +*Made with [okso.app](https://okso.app)* ## Références diff --git a/src/data-structures/stack/README.ja-JP.md b/src/data-structures/stack/README.ja-JP.md index 7f778284..55ca2520 100644 --- a/src/data-structures/stack/README.ja-JP.md +++ b/src/data-structures/stack/README.ja-JP.md @@ -9,7 +9,9 @@ プッシュとポップの例 -![Stack](https://upload.wikimedia.org/wikipedia/commons/b/b4/Lifo_stack.png) +![Stack](./images/stack.jpeg) + +*Made with [okso.app](https://okso.app)* ## 参考 diff --git a/src/data-structures/stack/README.ko-KR.md b/src/data-structures/stack/README.ko-KR.md index 916aef1d..c36a472e 100644 --- a/src/data-structures/stack/README.ko-KR.md +++ b/src/data-structures/stack/README.ko-KR.md @@ -16,7 +16,9 @@ _Read this in other languages:_ 다음은 push와 pop 연산을 실행하는 간단한 스택의 실행입니다. -![Stack](https://upload.wikimedia.org/wikipedia/commons/b/b4/Lifo_stack.png) +![Stack](./images/stack.jpeg) + +*Made with [okso.app](https://okso.app)* ## 참조 diff --git a/src/data-structures/stack/README.md b/src/data-structures/stack/README.md index f2335da1..645e66c1 100644 --- a/src/data-structures/stack/README.md +++ b/src/data-structures/stack/README.md @@ -8,24 +8,26 @@ _Read this in other languages:_ [_Português_](README.pt-BR.md), [_한국어_](README.ko-KR.md) -In computer science, a **stack** is an abstract data type that serves +In computer science, a **stack** is an abstract data type that serves as a collection of elements, with two principal operations: * **push**, which adds an element to the collection, and * **pop**, which removes the most recently added element that was not yet removed. -The order in which elements come off a stack gives rise to its -alternative name, LIFO (last in, first out). Additionally, a -peek operation may give access to the top without modifying -the stack. The name "stack" for this type of structure comes -from the analogy to a set of physical items stacked on top of -each other, which makes it easy to take an item off the top -of the stack, while getting to an item deeper in the stack +The order in which elements come off a stack gives rise to its +alternative name, LIFO (last in, first out). Additionally, a +peek operation may give access to the top without modifying +the stack. The name "stack" for this type of structure comes +from the analogy to a set of physical items stacked on top of +each other, which makes it easy to take an item off the top +of the stack, while getting to an item deeper in the stack may require taking off multiple other items first. Simple representation of a stack runtime with push and pop operations. -![Stack](https://upload.wikimedia.org/wikipedia/commons/b/b4/Lifo_stack.png) +![Stack](./images/stack.jpeg) + +*Made with [okso.app](https://okso.app)* ## References diff --git a/src/data-structures/stack/README.pt-BR.md b/src/data-structures/stack/README.pt-BR.md index 9390ea51..d1269d24 100644 --- a/src/data-structures/stack/README.pt-BR.md +++ b/src/data-structures/stack/README.pt-BR.md @@ -18,7 +18,9 @@ vários outros itens primeiro. Representação simples de um tempo de execução de pilha com operações _push_ e _pop_. -![Stack](https://upload.wikimedia.org/wikipedia/commons/b/b4/Lifo_stack.png) +![Stack](./images/stack.jpeg) + +*Made with [okso.app](https://okso.app)* ## Referências diff --git a/src/data-structures/stack/README.ru-RU.md b/src/data-structures/stack/README.ru-RU.md index 136cd6f4..3e33c871 100644 --- a/src/data-structures/stack/README.ru-RU.md +++ b/src/data-structures/stack/README.ru-RU.md @@ -8,14 +8,16 @@ * **удаление (pop)**, последнего добавленного элемента. Дополнительная операция чтения головного элемента (peek) даёт доступ -к последнему элементу стека без изменения самого стека. +к последнему элементу стека без изменения самого стека. Чаще всего принцип работы стека сравнивают со стопкой тарелок: чтобы взять вторую сверху, нужно снять верхнюю. Иллюстрация работы со стеком. -![Стек](https://upload.wikimedia.org/wikipedia/commons/b/b4/Lifo_stack.png) +![Stack](./images/stack.jpeg) + +*Made with [okso.app](https://okso.app)* ## Ссылки diff --git a/src/data-structures/stack/README.zh-CN.md b/src/data-structures/stack/README.zh-CN.md index bd9bce4b..f00e3eab 100644 --- a/src/data-structures/stack/README.zh-CN.md +++ b/src/data-structures/stack/README.zh-CN.md @@ -13,7 +13,9 @@ 栈的 push 和 pop 操作的示意 -![Stack](https://upload.wikimedia.org/wikipedia/commons/b/b4/Lifo_stack.png) +![Stack](./images/stack.jpeg) + +*Made with [okso.app](https://okso.app)* ## 参考 diff --git a/src/data-structures/stack/images/stack.jpeg b/src/data-structures/stack/images/stack.jpeg new file mode 100644 index 00000000..afedb9a4 Binary files /dev/null and b/src/data-structures/stack/images/stack.jpeg differ