Skip to content

Commit a30be78

Browse files
authored
Merge pull request TheAlgorithms#657 from SunggyuLee/master
translate README-ko + found wrong word in README
2 parents 31df8a2 + 3c97292 commit a30be78

File tree

2 files changed

+58
-66
lines changed

2 files changed

+58
-66
lines changed

README-ko.md

Lines changed: 57 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -36,96 +36,88 @@ __속성__
3636
###### View the algorithm in [action][insertion-toptal]
3737

3838

39-
### Merge
39+
### Merge(합병 정렬)
4040
![alt text][merge-image]
4141

42-
From [Wikipedia][merge-wiki]: In computer science, merge sort (also commonly spelt mergesort) is an efficient, general-purpose, comparison-based sorting algorithm. Most implementations produce a stable sort, which means that the implementation preserves the input order of equal elements in the sorted output. Mergesort is a divide and conquer algorithm that was invented by John von Neumann in 1945.
42+
From [Wikipedia][merge-wiki]: 컴퓨터 과학에서, 합병 정렬은 효율적인, 범용적인, 비교 기반 정렬 알고리즘이다. 대부분의 구현은 안정적인 분류를 이루는데, 이것은 구현이 정렬된 출력에 동일한 요소의 입력 순서를 유지한다는 것을 의미한다. 합병 정렬은 1945년에 John von Neumann이 발명한 분할 정복 알고리즘이다.
4343

44-
__Properties__
45-
* Worst case performance O(n log n) (typical)
46-
* Best case performance O(n log n)
47-
* Average case performance O(n log n)
44+
__속성__
45+
* 최악의 성능 O(n log n) (일반적)
46+
* 최고의 성능 O(n log n)
47+
* 평균 O(n log n)
4848

4949

5050
###### View the algorithm in [action][merge-toptal]
5151

52-
### Quick
52+
### Quick(퀵 정렬)
5353
![alt text][quick-image]
5454

55-
From [Wikipedia][quick-wiki]: Quicksort (sometimes called partition-exchange sort) is an efficient sorting algorithm, serving as a systematic method for placing the elements of an array in order.
55+
From [Wikipedia][quick-wiki]: 퀵 정렬sometimes called partition-exchange sort)은 효율적인 정렬 알고리즘으로, 배열의 요소를 순서대로 정렬하는 체계적인 방법 역활을 한다.
5656

57-
__Properties__
58-
* Worst case performance O(n^2)
59-
* Best case performance O(n log n) or O(n) with three-way partition
60-
* Average case performance O(n log n)
57+
__속성__
58+
* 최악의 성능 O(n^2)
59+
* 최고의 성능 O(n log n) or O(n) with three-way partition
60+
* 평균 O(n log n)
6161

6262
###### View the algorithm in [action][quick-toptal]
6363

64-
### Selection
64+
### Selection(선택 정렬)
6565
![alt text][selection-image]
6666

67-
From [Wikipedia][selection-wiki]: The algorithm divides the input list into two parts: the sublist of items already sorted, which is built up from left to right at the front (left) of the list, and the sublist of items remaining to be sorted that occupy the rest of the list. Initially, the sorted sublist is empty and the unsorted sublist is the entire input list. The algorithm proceeds by finding the smallest (or largest, depending on sorting order) element in the unsorted sublist, exchanging (swapping) it with the leftmost unsorted element (putting it in sorted order), and moving the sublist boundaries one element to the right.
67+
From [Wikipedia][selection-wiki]: 알고리즘 입력 리스트를 두 부분으로 나눈다 : 첫 부분은 아이템들이 이미 왼쪽에서 오른쪽으로 정렬되었다. 그리고 남은 부분의 아이템들은 나머지 항목을 차지하는 리스트이다. 처음에는 정렬된 리스트는 공백이고 나머지가 전부이다. 오르차순(또는 내림차순) 알고리즘은 가장 작은 요소를 정렬되지 않은 리스트에서 찾고 정렬이 안된 가장 왼쪽(정렬된 리스트) 리스트와 바꾼다. 이렇게 오른쪽으로 나아간다.
6868

69-
__Properties__
70-
* Worst case performance O(n^2)
71-
* Best case performance O(n^2)
72-
* Average case performance O(n^2)
69+
__속성__
70+
* 최악의 성능 O(n^2)
71+
* 최고의 성능 O(n^2)
72+
* 평균 O(n^2)
7373

7474
###### View the algorithm in [action][selection-toptal]
7575

76-
### Shell
76+
### Shell(쉘 정렬)
7777
![alt text][shell-image]
7878

79-
From [Wikipedia][shell-wiki]: Shellsort is a generalization of insertion sort that allows the exchange of items that are far apart. The idea is to arrange the list of elements so that, starting anywhere, considering every nth element gives a sorted list. Such a list is said to be h-sorted. Equivalently, it can be thought of as h interleaved lists, each individually sorted.
79+
From [Wikipedia][shell-wiki]: 쉘 정렬은 멀리 떨어져 있는 항목의 교환을 허용하는 삽입 종류의 일반화이다. 그 아이디어는 모든 n번째 요소가 정렬된 목록을 제공한다는 것을 고려하여 어느 곳에서든지 시작하도록 요소의 목록을 배열하는 것이다. 이러한 목록은 h-sorted로 알려져 있다. 마찬가지로, 각각 개별적으로 정렬된 h 인터리브 목록으로 간주될 수 있다.
8080

81-
__Properties__
82-
* Worst case performance O(nlog2 2n)
83-
* Best case performance O(n log n)
81+
__속성__
82+
* 최악의 성능 O(nlog2 2n)
83+
* 최고의 성능 O(n log n)
8484
* Average case performance depends on gap sequence
8585

8686
###### View the algorithm in [action][shell-toptal]
8787

88-
### Time-Compexity Graphs
88+
### 시간 복잡성 그래프
8989

90-
Comparing the complexity of sorting algorithms (Bubble Sort, Insertion Sort, Selection Sort)
90+
정렬 알고리즘의 복잡성 비교 (버블 정렬, 삽입 정렬, 선택 정렬)
9191

92-
[Complexity Graphs](https://github.com/prateekiiest/Python/blob/master/sorts/sortinggraphs.png)
92+
[복잡성 그래프](https://github.com/prateekiiest/Python/blob/master/sorts/sortinggraphs.png)
9393

9494
----------------------------------------------------------------------------------
9595

96-
## Search Algorithms
96+
## 검색 알고리즘
9797

98-
### Linear
98+
### Linear (선형 탐색)
9999
![alt text][linear-image]
100100

101-
From [Wikipedia][linear-wiki]: linear search or sequential search is a method for finding a target value within a list. It sequentially checks each element of the list for the target value until a match is found or until all the elements have been searched.
102-
The linear search runs in at the worst linear time and makes at most n comparisons, where n is the length of the list.
101+
From [Wikipedia][linear-wiki]: 선형 탐색 또는 순차 탐색은 목록 내에서 목표값을 찾는 방법이다. 일치 항목이 발견되거나 모든 요소가 탐색될 때까지 목록의 각 요소에 대해 목표값을 순차적으로 검사한다.
102+
선형 검색은 최악의 선형 시간으로 실행되며 최대 n개의 비교에서 이루어진다. 여기서 n은 목록의 길이다.
103103

104-
__Properties__
105-
* Worst case performance O(n)
106-
* Best case performance O(1)
107-
* Average case performance O(n)
108-
* Worst case space complexity O(1) iterative
104+
__속성__
105+
* 최악의 성능 O(n)
106+
* 최고의 성능 O(1)
107+
* 평균 O(n)
108+
* 최악의 경우 공간 복잡성 O(1) iterative
109109

110-
### Binary
110+
### Binary (이진 탐색)
111111
![alt text][binary-image]
112112

113-
From [Wikipedia][binary-wiki]: Binary search, also known as half-interval search or logarithmic search, is a search algorithm that finds the position of a target value within a sorted array. It compares the target value to the middle element of the array; if they are unequal, the half in which the target cannot lie is eliminated and the search continues on the remaining half until it is successful.
114-
115-
__Properties__
116-
* Worst case performance O(log n)
117-
* Best case performance O(1)
118-
* Average case performance O(log n)
119-
* Worst case space complexity O(1)
120-
121-
From [Wikipedia][shell-wiki]: Shellsort is a generalization of insertion sort that allows the exchange of items that are far apart. The idea is to arrange the list of elements so that, starting anywhere, considering every nth element gives a sorted list. Such a list is said to be h-sorted. Equivalently, it can be thought of as h interleaved lists, each individually sorted.
113+
From [Wikipedia][binary-wiki]: 이진 탐색, (also known as half-interval search or logarithmic search), 은 정렬된 배열 내에서 목표값의 위치를 찾는 검색 알고리즘이다. 목표값을 배열의 중간 요소와 비교한다; 만약 목표값이 동일하지 않으면, 목표물의 절반이 제거되고 검색이 성공할 때까지 나머지 절반에서 게속된다.
122114

123-
__Properties__
124-
* Worst case performance O(nlog2 2n)
125-
* Best case performance O(n log n)
126-
* Average case performance depends on gap sequence
115+
__속성__
116+
* 최악의 성능 O(log n)
117+
* 최고의 성능 O(1)
118+
* 평균 O(log n)
119+
* 최악의 경우 공간 복잡성 O(1)
127120

128-
###### View the algorithm in [action][shell-toptal]
129121

130122
[bubble-toptal]: https://www.toptal.com/developers/sorting-algorithms/bubble-sort
131123
[bubble-wiki]: https://en.wikipedia.org/wiki/Bubble_sort
@@ -159,9 +151,9 @@ __Properties__
159151

160152

161153
--------------------------------------------------------------------
162-
## Links to the rest of the algorithms
154+
## 나머지 알고리즘에 대한 링크
163155

164-
Conversions | Dynamic Programming |Ciphers|Miscellaneous|
156+
전환 | 다이나믹프로그래밍(DP) |암호|그 외 것들|
165157
----------- |----------------------------------------------------------------|-------|-------------|
166158
[Any Base to Any Base](Conversions/AnyBaseToAnyBase.java)| [Coin Change](Dynamic%20Programming/CoinChange.java)|[Caesar](ciphers/Caesar.java)|[Heap Sort](misc/heap_sort.java)|
167159
[Any Base to Decimal](Conversions/AnyBaseToDecimal.java)|[Egg Dropping](Dynamic%20Programming/EggDropping.java)|[Columnar Transposition Cipher](ciphers/ColumnarTranspositionCipher.java)|[Palindromic Prime Checker](misc/PalindromicPrime.java)|
@@ -173,21 +165,21 @@ Conversions | Dynamic Programm
173165
[Decimal To Hexadecimal](Conversions/DecimalToHexaDecimal.java)|[Rod Cutting](Dynamic%20Programming/RodCutting.java)|
174166
and much more...| and more...|
175167

176-
### Data Structures
177-
Graphs|Heaps|Lists|Queues|
168+
### 자료 구조
169+
그래프|힙|리스트|큐|
178170
------|-----|-----|------|
179-
[BFS](DataStructures/Graphs/BFS.java)|[Empty Heap Exception](DataStructures/Heaps/EmptyHeapException.java)|[Circle Linked List](DataStructures/Lists/CircleLinkedList.java)|[Generic Array List Queue](DataStructures/Queues/GenericArrayListQueue.java)|
180-
[DFS](DataStructures/Graphs/DFS.java)|[Heap](DataStructures/Heaps/Heap.java)|[Doubly Linked List](DataStructures/Lists/DoublyLinkedList.java)|[Queues](DataStructures/Queues/Queues.java)|
181-
[Graphs](DataStructures/Graphs/Graphs.java)|[Heap Element](DataStructures/Heaps/HeapElement.java)|[Singly Linked List](DataStructures/Lists/SinglyLinkedList.java)|
182-
[Kruskals Algorithm](DataStructures/Graphs/KruskalsAlgorithm.java)|[Max Heap](Data%Structures/Heaps/MaxHeap.java)|
183-
[Matrix Graphs](DataStructures/Graphs/MatrixGraphs.java)|[Min Heap](DataStructures/Heaps/MinHeap.java)|
184-
[PrimMST](DataStructures/Graphs/PrimMST.java)|
185-
186-
Stacks|Trees|
171+
[너비우선탐색](DataStructures/Graphs/BFS.java)|[빈 힙 예외처리](DataStructures/Heaps/EmptyHeapException.java)|[원형 연결리스트](DataStructures/Lists/CircleLinkedList.java)|[제너릭 어레이 리스트 큐](DataStructures/Queues/GenericArrayListQueue.java)|
172+
[깊이우선탐색](DataStructures/Graphs/DFS.java)|[](DataStructures/Heaps/Heap.java)|[이중 연결리스트](DataStructures/Lists/DoublyLinkedList.java)|[](DataStructures/Queues/Queues.java)|
173+
[그래프](DataStructures/Graphs/Graphs.java)|[힙 요소](DataStructures/Heaps/HeapElement.java)|[단순 연결리스트](DataStructures/Lists/SinglyLinkedList.java)|
174+
[크루스칼 알고리즘](DataStructures/Graphs/KruskalsAlgorithm.java)|[최대힙](Data%Structures/Heaps/MaxHeap.java)|
175+
[행렬 그래프](DataStructures/Graphs/MatrixGraphs.java)|[최소힙](DataStructures/Heaps/MinHeap.java)|
176+
[프림 최소신장트리](DataStructures/Graphs/PrimMST.java)|
177+
178+
스택|트리|
187179
------|-----|
188-
[Node Stack](DataStructures/Stacks/NodeStack.java)|[AVL Tree](DataStructures/Trees/AVLTree.java)|
189-
[Stack of Linked List](DataStructures/Stacks/StackOfLinkedList.java)|[Binary Tree](DataStructures/Trees/BinaryTree.java)|
190-
[Stacks](DataStructures/Stacks/Stacks.java)|And much more...|
180+
[노드 스택](DataStructures/Stacks/NodeStack.java)|[AVL 트리](DataStructures/Trees/AVLTree.java)|
181+
[연결리스트 스택](DataStructures/Stacks/StackOfLinkedList.java)|[이진 트리](DataStructures/Trees/BinaryTree.java)|
182+
[스택](DataStructures/Stacks/Stacks.java)|And much more...|
191183

192184
* [Bags](DataStructures/Bags/Bag.java)
193185
* [Buffer](DataStructures/Buffers/CircularBuffer.java)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ __Properties__
8686

8787
##### View the algorithm in [action][shell-toptal]
8888

89-
### Time-Compexity Graphs
89+
### Time-Complexity Graphs
9090

9191
Comparing the complexity of sorting algorithms (Bubble Sort, Insertion Sort, Selection Sort)
9292

0 commit comments

Comments
 (0)