Skip to content

Commit 457b16a

Browse files
authoredJan 22, 2022
Add Korean translation for data-structures/stack (trekhleb#797)
1 parent e844a2f commit 457b16a

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed
 
+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# 스택
2+
3+
_Read this in other languages:_
4+
[_简体中文_](README.zh-CN.md),
5+
[_Русский_](README.ru-RU.md),
6+
[_日本語_](README.ja-JP.md),
7+
[_Français_](README.fr-FR.md),
8+
[_Português_](README.pt-BR.md)
9+
10+
컴퓨터 과학에서, **스택**은 아래의 두가지 연산을 가진 요소들의 집합인 추상 자료형입니다.
11+
12+
* **push**는 집합에 요소를 추가하는 것이며,
13+
* **pop**은 아직 제거되지 않은 가장 최근에 추가된 요소를 제거하는 연산입니다.
14+
15+
요소가 스택에서 나오는 과정은 LIFO (last in, first out)라는 이름으로 확인할 수 있습니다. 추가적으로, peek 연산은 스택을 수정하지 않고 최상단의 요소에 접근할 수 있게 해줍니다. 이런 자료구조의 "스택"이라는 이름은 실제 물건들이 다른 물건들의 위에 쌓이게 되는 것에서 유추되었습니다. 스택의 최상단의 물건은 빼내기 쉽지만 깊이 있는 물건을 빼내려면 다른 물건들을 먼저 빼내야 하는게 필요합니다.
16+
17+
다음은 push와 pop 연산을 실행하는 간단한 스택의 실행입니다.
18+
19+
![Stack](https://upload.wikimedia.org/wikipedia/commons/b/b4/Lifo_stack.png)
20+
21+
## 참조
22+
23+
- [Wikipedia](https://en.wikipedia.org/wiki/Stack_(abstract_data_type))
24+
- [YouTube](https://www.youtube.com/watch?v=wjI1WNcIntg&list=PLLXdhg_r2hKA7DPDsunoDZ-Z769jWn4R8&index=3&)

‎src/data-structures/stack/README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ _Read this in other languages:_
55
[_Русский_](README.ru-RU.md),
66
[_日本語_](README.ja-JP.md),
77
[_Français_](README.fr-FR.md),
8-
[_Português_](README.pt-BR.md)
8+
[_Português_](README.pt-BR.md),
9+
[_한국어_](README.ko-KR.md)
910

1011
In computer science, a **stack** is an abstract data type that serves
1112
as a collection of elements, with two principal operations:

0 commit comments

Comments
 (0)
Please sign in to comment.