Skip to content

Commit e797d85

Browse files
committedDec 4, 2018
updata README.ko-KR.md from README

File tree

1 file changed

+42
-40
lines changed

1 file changed

+42
-40
lines changed
 

‎README.ko-KR.md

+42-40
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[![Build Status](https://travis-ci.org/trekhleb/javascript-algorithms.svg?branch=master)](https://travis-ci.org/trekhleb/javascript-algorithms)
44
[![codecov](https://codecov.io/gh/trekhleb/javascript-algorithms/branch/master/graph/badge.svg)](https://codecov.io/gh/trekhleb/javascript-algorithms)
55

6-
이 저장소에는 많이 알려진 알고리즘 및 자료 구조의 Javascript 기반 예제를 담고 있습니다.
6+
이 저장소에는 Javascript 버전의 저명한 알고리즘 및 자료 구조의 예제를 담고 있습니다.
77

88
각 알고리즘과 자료 구조에 대해 연관되어있는 설명이 README에 작성되어 있으며,
99
링크를 통해 더 자세한 설명을 만날 수 있습니다. (관련된 YouTube 영상도 포함).
@@ -19,25 +19,26 @@ _Read this in other languages:_
1919

2020
## 자료 구조
2121

22-
자료 구조는 데이터를 특정 방식으로 구성하고 저장함으로써 더 효율적으로
23-
접근하고 수정할 수 있게 해줍니다. 간단히 말해, 자료 구조는 데이터 값들,
24-
데이터 간의 관계, 그리고 데이터를 다룰 수 있는 함수와 작업의 모임입니다.
22+
자료 구조는 데이터 값들, 데이터 값들 간의 관계,
23+
그리고 데이터를 다룰 수 있는 함수와 연산들의 집합으로,
24+
데이터를 특정 방식으로 구성하고 저장함으로써 더 효율적으로
25+
접근하고 수정할 수 있게 해줍니다.
2526

2627

2728
`B` - 입문자, `A` - 숙련자
2829

2930
* `B` [연결 리스트](src/data-structures/linked-list)
3031
* `B` [이중 연결 리스트](src/data-structures/doubly-linked-list)
31-
* `B` [](src/data-structures/queue)
32-
* `B` [스택](src/data-structures/stack)
32+
* `B` [](src/data-structures/queue) - 선입선출 방식
33+
* `B` [스택](src/data-structures/stack) - 후입선출 방식
3334
* `B` [해시 테이블](src/data-structures/hash-table)
3435
* `B` [](src/data-structures/heap)
3536
* `B` [우선순위 큐](src/data-structures/priority-queue)
3637
* `A` [트라이](src/data-structures/trie)
3738
* `A` [트리](src/data-structures/tree)
3839
* `A` [이진 탐색 트리](src/data-structures/tree/binary-search-tree)
39-
* `A` [AVL 트리](src/data-structures/tree/avl-tree)
40-
* `A` [Red-Black 트리](src/data-structures/tree/red-black-tree)
40+
* `A` [AVL 트리](src/data-structures/tree/avl-tree) - 균형 잡힌 이진 탐색 트리
41+
* `A` [Red-Black 트리](src/data-structures/tree/red-black-tree) - 자가 균형 이진 탐색 트리
4142
* `A` [세그먼트 트리](src/data-structures/tree/segment-tree) - min/max/sum range 쿼리 예제.
4243
* `A` [Fenwick 트리](src/data-structures/tree/fenwick-tree) (Binary Indexed Tree)
4344
* `A` [그래프](src/data-structures/graph) (유방향, 무방향)
@@ -46,23 +47,24 @@ _Read this in other languages:_
4647

4748
## 알고리즘
4849

49-
알고리즘은 어떤 종류의 문제를 풀 수 있는 정확한 방법이며,
50-
일련의 작업을 정확하게 정의해 놓은 규칙들입니다.
50+
알고리즘은 어떠한 문제를 해결하기 위해 정해진
51+
일련의 절차나 방법을 공식화한 형태로 표현한 것을 말한다.
52+
5153

5254
`B` - 입문자, `A` - 숙련자
5355

5456
### 주제별 알고리즘
5557

5658
* **Math**
57-
* `B` [Bit Manipulation](src/algorithms/math/bits) - set/get/update/clear bits, 2의 곱 / 나누기, 음수로 만들기 etc.
58-
* `B` [팩토리얼](src/algorithms/math/factorial)
59-
* `B` [피보나치 수](src/algorithms/math/fibonacci)
59+
* `B` [비트 조작](src/algorithms/math/bits) - set/get/update/clear bits, 2의 곱 / 나누기, 음수로 만들기 etc.
60+
* `B` [팩토리얼](src/algorithms/math/factorial) - 그 수보다 작거나 같은 모든 양의 정수의 곱
61+
* `B` [피보나치 수](src/algorithms/math/fibonacci) - 첫째 및 둘째 항이 1이며 그 뒤의 모든 항은 바로 앞 두 항의 합인 수열
6062
* `B` [소수 판별](src/algorithms/math/primality-test) (trial division 방식)
6163
* `B` [유클리드 호제법](src/algorithms/math/euclidean-algorithm) - 최대공약수 (GCD)
62-
* `B` [최소 공배수](src/algorithms/math/least-common-multiple) - LCM
64+
* `B` [최소 공배수](src/algorithms/math/least-common-multiple) - LCM(Least Common Multiple)
6365
* `B` [에라토스테네스의 체](src/algorithms/math/sieve-of-eratosthenes) - 특정수 이하의 모든 소수 찾기
6466
* `B` [2의 거듭제곱 판별법](src/algorithms/math/is-power-of-two) - 어떤 수가 2의 거듭제곱인지 판별 (naive 와 bitwise 알고리즘)
65-
* `B` [파스칼 삼각형](src/algorithms/math/pascal-triangle)
67+
* `B` [파스칼 삼각형](src/algorithms/math/pascal-triangle) - 이항계수를 삼각형 모양의 기하학적 형태로 배열한 것
6668
* `A` [자연수 분할](src/algorithms/math/integer-partition)
6769
* `A` [리우 후이 π 알고리즘](src/algorithms/math/liu-hui) - N-각형을 기반으로 π 근사치 구하기
6870
* **Sets**
@@ -73,7 +75,7 @@ _Read this in other languages:_
7375
* `A` [조합](src/algorithms/sets/combinations) (반복 유,무)
7476
* `A` [최장 공통 부분수열](src/algorithms/sets/longest-common-subsequence) (LCS)
7577
* `A` [최장 증가 수열](src/algorithms/sets/longest-increasing-subsequence)
76-
* `A` [Shortest Common Supersequence](src/algorithms/sets/shortest-common-supersequence) (SCS)
78+
* `A` [최단 공통 상위수열](src/algorithms/sets/shortest-common-supersequence) (SCS)
7779
* `A` [배낭 문제](src/algorithms/sets/knapsack-problem) - "0/1" 과 "Unbound"
7880
* `A` [최대 구간합](src/algorithms/sets/maximum-subarray) - "브루트 포스" 과 "동적 계획법" (Kadane's) 버전
7981
* `A` [조합 합](src/algorithms/sets/combination-sum) - 특정 합을 구성하는 모든 조합 찾기
@@ -83,23 +85,23 @@ _Read this in other languages:_
8385
* `A` [커누스-모리스-프랫 알고리즘](src/algorithms/string/knuth-morris-pratt) (KMP 알고리즘) - 부분 문자열 탐색 (패턴 매칭)
8486
* `A` [Z 알고리즘](src/algorithms/string/z-algorithm) - 부분 문자열 탐색 (패턴 매칭)
8587
* `A` [라빈 카프 알고리즘](src/algorithms/string/rabin-karp) - 부분 문자열 탐색
86-
* `A` [최장 공통 부분 문자열](src/algorithms/string/longest-common-substring)
88+
* `A` [최장 공통 부분 문자열](src/algorithms/string/longest-common-substring) - 부분 문자열 탐색
8789
* `A` [정규 표현식 매칭](src/algorithms/string/regular-expression-matching)
8890
* **Searches**
8991
* `B` [선형 탐색](src/algorithms/search/linear-search)
9092
* `B` [점프 탐색](src/algorithms/search/jump-search) (or Block Search) - 정렬된 배열에서 탐색
9193
* `B` [이진 탐색](src/algorithms/search/binary-search) - 정렬된 배열에서 탐색
9294
* `B` [보간 탐색](src/algorithms/search/interpolation-search) - 균등한 분포를 이루는 정렬된 배열에서 탐색
9395
* **Sorting**
94-
* `B` [거품 정렬](src/algorithms/sorting/bubble-sort)
95-
* `B` [선택 정렬](src/algorithms/sorting/selection-sort)
96-
* `B` [삽입 정렬](src/algorithms/sorting/insertion-sort)
97-
* `B` [힙 정렬](src/algorithms/sorting/heap-sort)
98-
* `B` [병합 정렬](src/algorithms/sorting/merge-sort)
96+
* `B` [거품 정렬](src/algorithms/sorting/bubble-sort) (bubble-sort)
97+
* `B` [선택 정렬](src/algorithms/sorting/selection-sort) (selection sort)
98+
* `B` [삽입 정렬](src/algorithms/sorting/insertion-sort) (insertion sort)
99+
* `B` [힙 정렬](src/algorithms/sorting/heap-sort) (heap sort)
100+
* `B` [병합 정렬](src/algorithms/sorting/merge-sort) (merge sort)
99101
* `B` [퀵 정렬](src/algorithms/sorting/quick-sort) - 제자리(in-place)와 제자리가 아닌(non-in-place) 구현
100-
* `B` [셸 정렬](src/algorithms/sorting/shell-sort)
101-
* `B` [계수 정렬](src/algorithms/sorting/counting-sort)
102-
* `B` [기수 정렬](src/algorithms/sorting/radix-sort)
102+
* `B` [셸 정렬](src/algorithms/sorting/shell-sort) (shell sort)
103+
* `B` [계수 정렬](src/algorithms/sorting/counting-sort) (counting sort)
104+
* `B` [기수 정렬](src/algorithms/sorting/radix-sort) (radix sort)
103105
* **Trees**
104106
* `B` [깊이 우선 탐색](src/algorithms/tree/depth-first-search) (DFS)
105107
* `B` [너비 우선 탐색](src/algorithms/tree/breadth-first-search) (BFS)
@@ -120,13 +122,13 @@ _Read this in other languages:_
120122
* `A` [강결합 컴포넌트](src/algorithms/graph/strongly-connected-components) - Kosaraju의 알고리즘
121123
* `A` [외판원 문제](src/algorithms/graph/travelling-salesman) - 각 도시를 다 방문하고 다시 출발점으로 돌아오는 최단 경로 찾기
122124
* **Uncategorized**
123-
* `B` [하노이 탑](src/algorithms/uncategorized/hanoi-tower)
125+
* `B` [하노이 탑](src/algorithms/uncategorized/hanoi-tower) - 재귀 호출을 이용한 알고리즘 예제
124126
* `B` [정방 행렬 회전](src/algorithms/uncategorized/square-matrix-rotation) - 제자리(in-place) 알고리즘
125127
* `B` [점프 게임](src/algorithms/uncategorized/jump-game) - 백트래킹, 동적계획법 (top-down + bottom-up), 탐욕 알고리즘 예제
126128
* `B` [Unique 경로](src/algorithms/uncategorized/unique-paths) - 백트래킹, 동적계획법, 파스칼 삼각형에 기반한 예제
127129
* `B` [빗물 담기 문제](src/algorithms/uncategorized/rain-terraces) - trapping rain water problem (동적계획법, 브루트포스 버전)
128-
* `A` [N-Queens 문제](src/algorithms/uncategorized/n-queens)
129-
* `A` [기사의 여행 문제](src/algorithms/uncategorized/knight-tour)
130+
* `A` [N개의 퀸 문제](src/algorithms/uncategorized/n-queens) - NXN 체스판에 N개의 퀸을 배치하는 문제
131+
* `A` [기사의 여행 문제](src/algorithms/uncategorized/knight-tour) - 체스 보드의 기사 말에 대한 수학적 알고리즘
130132

131133
### 패러다임별 알고리즘
132134

@@ -141,32 +143,32 @@ _Read this in other languages:_
141143
* `A` [외판원 문제](src/algorithms/graph/travelling-salesman) - 각 도시를 다 방문하고 다시 출발점으로 돌아오는 최단 경로 찾기
142144
* **탐욕 알고리즘(Greedy)** - 이후를 고려하지 않고 현재 시점에서 가장 최적인 선택을 하는 방식입니다.
143145
* `B` [점프 게임](src/algorithms/uncategorized/jump-game)
144-
* `A` [쪼갤수 있는 배낭 문제](src/algorithms/sets/knapsack-problem)
146+
* `A` [쪼갤수 있는 배낭 문제](src/algorithms/sets/knapsack-problem) - 짐들을 배낭에 넣을 때, 가치의 합이 최대가 되도록 짐을 고르는 방법을 찾는 문제
145147
* `A` [다익스트라 알고리즘](src/algorithms/graph/dijkstra) - 모든 점 까지의 최단거리 찾기
146148
* `A` [프림 알고리즘](src/algorithms/graph/prim) - 무방향 가중치 그래프에서 최소 신창 트리 (MST) 찾기
147149
* `A` [크루스칼 알고리즘](src/algorithms/graph/kruskal) - 무방향 가중치 그래프에서 최소 신창 트리 (MST) 찾기
148150
* **분할 정복법(Divide and Conquer)** - 문제를 여러 작은 문제로 분할한 뒤 해결하는 방식입니다.
149-
* `B` [이진 탐색](src/algorithms/search/binary-search)
150-
* `B` [하노이 탑](src/algorithms/uncategorized/hanoi-tower)
151-
* `B` [파스칼 삼각형](src/algorithms/math/pascal-triangle)
151+
* `B` [이진 탐색](src/algorithms/search/binary-search) - 정렬된 배열에서 탐색
152+
* `B` [하노이 탑](src/algorithms/uncategorized/hanoi-tower) - 재귀 호출을 이용한 알고리즘 예제
153+
* `B` [파스칼 삼각형](src/algorithms/math/pascal-triangle) - 이항계수를 삼각형 모양의 기하학적 형태로 배열한 것
152154
* `B` [유클리드 호제법](src/algorithms/math/euclidean-algorithm) - 최대공약수 계산 (GCD)
153-
* `B` [병합 정렬](src/algorithms/sorting/merge-sort)
154-
* `B` [퀵 정렬](src/algorithms/sorting/quick-sort)
155+
* `B` [병합 정렬](src/algorithms/sorting/merge-sort) (merge sort)
156+
* `B` [퀵 정렬](src/algorithms/sorting/quick-sort) - 제자리(in-place)와 제자리가 아닌(non-in-place) 구현
155157
* `B` [트리 깊이 우선 탐색](src/algorithms/tree/depth-first-search) (DFS)
156158
* `B` [그래프 깊이 우선 탐색](src/algorithms/graph/depth-first-search) (DFS)
157159
* `B` [점프 게임](src/algorithms/uncategorized/jump-game)
158160
* `A` [순열](src/algorithms/sets/permutations) (반복 유,무)
159161
* `A` [조합](src/algorithms/sets/combinations) (반복 유,무)
160162
* **동적 계획법(Dynamic Programming)** - 이전에 찾은 결과를 이용하여 최종적으로 해결하는 방식입니다.
161-
* `B` [피보나치 수](src/algorithms/math/fibonacci)
163+
* `B` [피보나치 수](src/algorithms/math/fibonacci) - 첫째 및 둘째 항이 1이며 그 뒤의 모든 항은 바로 앞 두 항의 합인 수열
162164
* `B` [점프 게임](src/algorithms/uncategorized/jump-game)
163-
* `B` [Unique Paths](src/algorithms/uncategorized/unique-paths)
165+
* `B` [Unique 경로](src/algorithms/uncategorized/unique-paths) - 백트래킹, 동적계획법, 파스칼 삼각형에 기반한 예제
164166
* `B` [빗물 담기 문제](src/algorithms/uncategorized/rain-terraces) - trapping rain water problem
165167
* `A` [편집 거리](src/algorithms/string/levenshtein-distance) - 두 시퀀스 간의 최소 편집 거리
166168
* `A` [최장 공통 부분 수열](src/algorithms/sets/longest-common-subsequence) (LCS)
167169
* `A` [최장 공통 부분 문자열](src/algorithms/string/longest-common-substring)
168170
* `A` [최장 증가 수열](src/algorithms/sets/longest-increasing-subsequence)
169-
* `A` [Shortest Common Supersequence](src/algorithms/sets/shortest-common-supersequence)
171+
* `A` [최단 공통 상위수열](src/algorithms/sets/shortest-common-supersequence) (SCS)
170172
* `A` [0/1 배낭 문제](src/algorithms/sets/knapsack-problem)
171173
* `A` [자연수 분할](src/algorithms/math/integer-partition)
172174
* `A` [최대 구간합](src/algorithms/sets/maximum-subarray)
@@ -175,10 +177,10 @@ _Read this in other languages:_
175177
* `A` [정규 표현식 매칭](src/algorithms/string/regular-expression-matching)
176178
* **백트래킹(Backtracking)** - 모든 가능한 경우를 고려한다는 점에서 브루트 포스와 유사합니다. 하지만 다음 단계로 넘어갈때 마다 모든 조건을 만족했는지 확인하고 진행합니다. 만약 조건을 만족하지 못했다면 뒤로 돌아갑니다 (백트래킹). 그리고 다른 경로를 선택합니다. 보통 상태를 유지한 DFS 탐색을 많이 사용합니다.
177179
* `B` [점프 게임](src/algorithms/uncategorized/jump-game)
178-
* `B` [Unique Paths](src/algorithms/uncategorized/unique-paths)
180+
* `B` [Unique 경로](src/algorithms/uncategorized/unique-paths) - 백트래킹, 동적계획법, 파스칼 삼각형에 기반한 예제
179181
* `A` [해밀턴 경로](src/algorithms/graph/hamiltonian-cycle) - 모든 점을 한번씩 방문
180-
* `A` [N-Queens 문제](src/algorithms/uncategorized/n-queens)
181-
* `A` [기사의 여행](src/algorithms/uncategorized/knight-tour)
182+
* `A` [N개의 퀸 문제](src/algorithms/uncategorized/n-queens) - NXN 체스판에 N개의 퀸을 배치하는 문제
183+
* `A` [기사의 여행 문제](src/algorithms/uncategorized/knight-tour) - 체스 보드의 기사 말에 대한 수학적 알고리즘
182184
* `A` [조합 합](src/algorithms/sets/combination-sum) - 특정 합을 구성하는 모든 조합 찾기
183185
* **분기 한정법** - 백트래킹으로 찾은 각 단계의 최소 비용 해결법을 기억해 두고 있다가, 이 비용을 이용해서 더 낮은 최소 비용을 찾습니다. 기억해둔 최소 비용을 이용해 더 높은 비용이 드는 해결법은 더이상 탐색하지 않습니다. 보통 상태 정보를 사진 DFS 를 이용한 BFS 방식에서 사용됩니다.
184186

0 commit comments

Comments
 (0)
Please sign in to comment.