<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ko">
	<id>https://wiki.mathnt.net/index.php?action=history&amp;feed=atom&amp;title=%ED%95%A9%EB%B3%91_%EC%A0%95%EB%A0%AC</id>
	<title>합병 정렬 - 편집 역사</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.mathnt.net/index.php?action=history&amp;feed=atom&amp;title=%ED%95%A9%EB%B3%91_%EC%A0%95%EB%A0%AC"/>
	<link rel="alternate" type="text/html" href="https://wiki.mathnt.net/index.php?title=%ED%95%A9%EB%B3%91_%EC%A0%95%EB%A0%AC&amp;action=history"/>
	<updated>2026-04-04T18:05:55Z</updated>
	<subtitle>이 문서의 편집 역사</subtitle>
	<generator>MediaWiki 1.35.0</generator>
	<entry>
		<id>https://wiki.mathnt.net/index.php?title=%ED%95%A9%EB%B3%91_%EC%A0%95%EB%A0%AC&amp;diff=51152&amp;oldid=prev</id>
		<title>2021년 2월 17일 (수) 07:54에 Pythagoras0님의 편집</title>
		<link rel="alternate" type="text/html" href="https://wiki.mathnt.net/index.php?title=%ED%95%A9%EB%B3%91_%EC%A0%95%EB%A0%AC&amp;diff=51152&amp;oldid=prev"/>
		<updated>2021-02-17T07:54:37Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ko&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← 이전 판&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2021년 2월 17일 (수) 07:54 판&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l99&quot; &gt;99번째 줄:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;99번째 줄:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  &amp;lt;references /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  &amp;lt;references /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== 메타데이터 ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==메타데이터==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===위키데이터===&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===위키데이터===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* ID :  [https://www.wikidata.org/wiki/Q189057 Q189057]&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* ID :  [https://www.wikidata.org/wiki/Q189057 Q189057]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;===Spacy 패턴 목록===&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* [{&amp;#039;LOWER&amp;#039;: &amp;#039;merge&amp;#039;}, {&amp;#039;LEMMA&amp;#039;: &amp;#039;sort&amp;#039;}]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* [{&amp;#039;LEMMA&amp;#039;: &amp;#039;mergesort&amp;#039;}]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Pythagoras0</name></author>
	</entry>
	<entry>
		<id>https://wiki.mathnt.net/index.php?title=%ED%95%A9%EB%B3%91_%EC%A0%95%EB%A0%AC&amp;diff=46948&amp;oldid=prev</id>
		<title>Pythagoras0: /* 메타데이터 */ 새 문단</title>
		<link rel="alternate" type="text/html" href="https://wiki.mathnt.net/index.php?title=%ED%95%A9%EB%B3%91_%EC%A0%95%EB%A0%AC&amp;diff=46948&amp;oldid=prev"/>
		<updated>2020-12-26T12:10:51Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;메타데이터: &lt;/span&gt; 새 문단&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ko&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← 이전 판&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2020년 12월 26일 (토) 12:10 판&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l98&quot; &gt;98번째 줄:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;98번째 줄:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===소스===&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===소스===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  &amp;lt;references /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  &amp;lt;references /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;== 메타데이터 ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;===위키데이터===&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* ID :  [https://www.wikidata.org/wiki/Q189057 Q189057]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Pythagoras0</name></author>
	</entry>
	<entry>
		<id>https://wiki.mathnt.net/index.php?title=%ED%95%A9%EB%B3%91_%EC%A0%95%EB%A0%AC&amp;diff=46382&amp;oldid=prev</id>
		<title>Pythagoras0: /* 노트 */ 새 문단</title>
		<link rel="alternate" type="text/html" href="https://wiki.mathnt.net/index.php?title=%ED%95%A9%EB%B3%91_%EC%A0%95%EB%A0%AC&amp;diff=46382&amp;oldid=prev"/>
		<updated>2020-12-21T15:08:10Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;노트: &lt;/span&gt; 새 문단&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;새 문서&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== 노트 ==&lt;br /&gt;
&lt;br /&gt;
===위키데이터===&lt;br /&gt;
* ID :  [https://www.wikidata.org/wiki/Q189057 Q189057]&lt;br /&gt;
===말뭉치===&lt;br /&gt;
# Merge sort is a sorting technique based on divide and conquer technique.&amp;lt;ref name=&amp;quot;ref_d6266c02&amp;quot;&amp;gt;[https://www.tutorialspoint.com/data_structures_algorithms/merge_sort_algorithm.htm Merge Sort Algorithm]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# We know that merge sort first divides the whole array iteratively into equal halves unless the atomic values are achieved.&amp;lt;ref name=&amp;quot;ref_d6266c02&amp;quot; /&amp;gt;&lt;br /&gt;
# Merge sort keeps on dividing the list into equal halves until it can no more be divided.&amp;lt;ref name=&amp;quot;ref_d6266c02&amp;quot; /&amp;gt;&lt;br /&gt;
# We shall now see the pseudocodes for merge sort functions.&amp;lt;ref name=&amp;quot;ref_d6266c02&amp;quot; /&amp;gt;&lt;br /&gt;
# The first algorithm we will study is the merge sort.&amp;lt;ref name=&amp;quot;ref_8d55604a&amp;quot;&amp;gt;[https://runestone.academy/runestone/books/published/pythonds/SortSearch/TheMergeSort.html 6.11. The Merge Sort — Problem Solving with Algorithms and Data Structures]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# Merge sort is a recursive algorithm that continually splits a list in half.&amp;lt;ref name=&amp;quot;ref_8d55604a&amp;quot; /&amp;gt;&lt;br /&gt;
# If the list has more than one item, we split the list and recursively invoke a merge sort on both halves.&amp;lt;ref name=&amp;quot;ref_8d55604a&amp;quot; /&amp;gt;&lt;br /&gt;
# Figure 10 shows our familiar example list as it is being split by mergeSort .&amp;lt;ref name=&amp;quot;ref_8d55604a&amp;quot; /&amp;gt;&lt;br /&gt;
# As shown in the image below, the merge sort algorithm recursively divides the array into halves until we reach the base case of array with 1 element.&amp;lt;ref name=&amp;quot;ref_8d75d944&amp;quot;&amp;gt;[https://www.programiz.com/dsa/merge-sort Merge Sort Algorithm]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# Merge sort is one of the most efficient sorting algorithms.&amp;lt;ref name=&amp;quot;ref_9a68c695&amp;quot;&amp;gt;[https://www.interviewbit.com/tutorial/merge-sort-algorithm/ Merge Sort Algorithm With Example Program]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# The top-down merge sort approach is the methodology which uses recursion mechanism.&amp;lt;ref name=&amp;quot;ref_9a68c695&amp;quot; /&amp;gt;&lt;br /&gt;
# The Bottom-Up merge sort approach uses iterative methodology.&amp;lt;ref name=&amp;quot;ref_9a68c695&amp;quot; /&amp;gt;&lt;br /&gt;
# In computer science, merge sort (also commonly spelled mergesort) is an efficient, general-purpose, comparison-based sorting algorithm.&amp;lt;ref name=&amp;quot;ref_921551b8&amp;quot;&amp;gt;[https://en.wikipedia.org/wiki/Merge_sort Merge sort]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# A natural merge sort is similar to a bottom-up merge sort except that any naturally occurring runs (sorted sequences) in the input are exploited.&amp;lt;ref name=&amp;quot;ref_921551b8&amp;quot; /&amp;gt;&lt;br /&gt;
# In the bottom-up merge sort, the starting point assumes each run is one item long.&amp;lt;ref name=&amp;quot;ref_921551b8&amp;quot; /&amp;gt;&lt;br /&gt;
# In the typical case, the natural merge sort may not need as many passes because there are fewer runs to merge.&amp;lt;ref name=&amp;quot;ref_921551b8&amp;quot; /&amp;gt;&lt;br /&gt;
# Call mergeSort for first half: Call mergeSort(arr, l, m) 3.&amp;lt;ref name=&amp;quot;ref_f61d2d10&amp;quot;&amp;gt;[https://www.geeksforgeeks.org/merge-sort/ GeeksforGeeks]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# Call mergeSort for second half: Call mergeSort(arr, m+1, r) 4.&amp;lt;ref name=&amp;quot;ref_f61d2d10&amp;quot; /&amp;gt;&lt;br /&gt;
# The following diagram from wikipedia shows the complete merge sort process for an example array {38, 27, 43, 3, 9, 82, 10}.&amp;lt;ref name=&amp;quot;ref_f61d2d10&amp;quot; /&amp;gt;&lt;br /&gt;
# WriteLine( &amp;quot;Given Array&amp;quot; ); printArray(arr); MergeSort ob = new MergeSort(); ob.sort(arr, 0, arr.&amp;lt;ref name=&amp;quot;ref_f61d2d10&amp;quot; /&amp;gt;&lt;br /&gt;
# extra space is of no concern, then merge sort is an excellent choice: It is simple to implement, and it is the only stable O(n·lg(n)) sorting algorithm.&amp;lt;ref name=&amp;quot;ref_99c12c9e&amp;quot;&amp;gt;[https://www.toptal.com/developers/sorting-algorithms/merge-sort Merge Sort - Sorting Algorithm Animations]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# The idea behind this paper is to modify the conventional Merge Sort Algorithm and to present a new method with reduced execution time.&amp;lt;ref name=&amp;quot;ref_6cd6848a&amp;quot;&amp;gt;[https://www.sciencedirect.com/science/article/pii/S1877050916315381 Enhanced Merge Sort- A New Approach to the Merging Process ☆]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# The newly proposed algorithm is faster than the conventional Merge Sort algorithm having a time complexity of O(n log 2 n).&amp;lt;ref name=&amp;quot;ref_6cd6848a&amp;quot; /&amp;gt;&lt;br /&gt;
# In this article, we will see the logic behind Merge Sort, implement it in JavaScript, and visualize it in action.&amp;lt;ref name=&amp;quot;ref_4d2eeba4&amp;quot;&amp;gt;[https://stackabuse.com/merge-sort-in-javascript/ Merge Sort in JavaScript]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# Merge sort uses the concept of divide-and-conquer to sort the given list of elements.&amp;lt;ref name=&amp;quot;ref_4d2eeba4&amp;quot; /&amp;gt;&lt;br /&gt;
# As we now have the code to merge two sorted arrays (conquer part of divide-and-conquer), let us write the final code for our Merge Sort algorithm.&amp;lt;ref name=&amp;quot;ref_4d2eeba4&amp;quot; /&amp;gt;&lt;br /&gt;
# Unlike Quick Sort, Merge Sort is not an in-place sorting algorithm, meaning it takes extra space other than the input array.&amp;lt;ref name=&amp;quot;ref_4d2eeba4&amp;quot; /&amp;gt;&lt;br /&gt;
# In Merge Sort, the given unsorted array with n elements, is divided into n subarrays, each having one element, because a single element is always sorted in itself.&amp;lt;ref name=&amp;quot;ref_5bf426c6&amp;quot;&amp;gt;[https://www.studytonight.com/data-structures/merge-sort Merge Sort Algorithm]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# Mergesort is used when we want a guaranteed running time of O ( n log ⁡ n ) O(n \log n) O(nlogn), regardless of the state of the input.&amp;lt;ref name=&amp;quot;ref_a9469817&amp;quot;&amp;gt;[https://brilliant.org/wiki/merge/ Brilliant Math &amp;amp; Science Wiki]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# Merge sort is a “divide and conquer” algorithm wherein we first divide the problem into subproblems.&amp;lt;ref name=&amp;quot;ref_7a31be0c&amp;quot;&amp;gt;[https://www.baeldung.com/java-merge-sort Merge Sort in Java]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# For the implementation, we&amp;#039;ll write a mergeSort function which takes in the input array and its length as the parameters.&amp;lt;ref name=&amp;quot;ref_7a31be0c&amp;quot; /&amp;gt;&lt;br /&gt;
# Chapter 11, Parallel patterns: merge sort, introduces merge sort, and dynamic input data identification and organization.&amp;lt;ref name=&amp;quot;ref_6669dae6&amp;quot;&amp;gt;[https://www.sciencedirect.com/topics/computer-science/merge-sort Merge-Sort - an overview]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# In Mergesort, we take the mid index which is (beg index + end index)/2.&amp;lt;ref name=&amp;quot;ref_3aa76d2a&amp;quot;&amp;gt;[https://www.mygreatlearning.com/blog/merge-sort/ Merge Sort Algorithms and Examples]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# But in merge sort in every iteration, we create two new temporary arrays.&amp;lt;ref name=&amp;quot;ref_3aa76d2a&amp;quot; /&amp;gt;&lt;br /&gt;
# This brings us to the end of this article where we learned about merge sort and its implementation in various languages.&amp;lt;ref name=&amp;quot;ref_3aa76d2a&amp;quot; /&amp;gt;&lt;br /&gt;
# def mergesort(n): &amp;quot;&amp;quot;&amp;quot;Recursively merge sort a list.&amp;lt;ref name=&amp;quot;ref_08cca053&amp;quot;&amp;gt;[https://sites.google.com/site/cbnualgteam/MergeSort 전북대학교 알고리즘 5 조 분할 정복]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# The first called mergeSort , which is the function we’ll call, and another one called _mergeArrays , which takes care of merging the arrays.&amp;lt;ref name=&amp;quot;ref_9f3b2d08&amp;quot;&amp;gt;[https://flaviocopes.com/merge-sort-javascript/ JavaScript Algorithms: Merge Sort]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# Merge sort is the algorithm which follows divide and conquer approach.&amp;lt;ref name=&amp;quot;ref_07a21aef&amp;quot;&amp;gt;[https://www.javatpoint.com/merge-sort Merge Sort]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# Conquer means sort the two sub-arrays recursively using the merge sort.&amp;lt;ref name=&amp;quot;ref_07a21aef&amp;quot; /&amp;gt;&lt;br /&gt;
# The main idea behind merge sort is that, the short list takes less time to be sorted.&amp;lt;ref name=&amp;quot;ref_07a21aef&amp;quot; /&amp;gt;&lt;br /&gt;
# Sort the array by using merge sort.&amp;lt;ref name=&amp;quot;ref_07a21aef&amp;quot; /&amp;gt;&lt;br /&gt;
# In this post, we&amp;#039;re going to learn a similar algorithm to quick sort -- merge sort.&amp;lt;ref name=&amp;quot;ref_fb549734&amp;quot;&amp;gt;[https://www.honeybadger.io/blog/ruby-merge-sort/ Exploring Merge Sort with Ruby]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# Merge sort was invented by John von Neumann in 1945.&amp;lt;ref name=&amp;quot;ref_fb549734&amp;quot; /&amp;gt;&lt;br /&gt;
# At a high level, the merge sort algorithm splits the array into two sub-arrays again and again (utilizing recursion) until only one element remains.&amp;lt;ref name=&amp;quot;ref_fb549734&amp;quot; /&amp;gt;&lt;br /&gt;
# Unlike bubble sort and other similar algorithms, merge sort is difficult to understand without visualization.&amp;lt;ref name=&amp;quot;ref_fb549734&amp;quot; /&amp;gt;&lt;br /&gt;
# Sort the two subsequences recursively by re-applying merge sort.&amp;lt;ref name=&amp;quot;ref_f03767b5&amp;quot;&amp;gt;[https://www.bogotobogo.com/Algorithms/mergesort.php Merge Sort]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# On the other hand, merge sort is a stable sort, parallelizes better, and is more efficient at handling slow-to-access sequential media.&amp;lt;ref name=&amp;quot;ref_f03767b5&amp;quot; /&amp;gt;&lt;br /&gt;
# Merge sort illustrated through a Transylvanian-saxon (German) folk dance.&amp;lt;ref name=&amp;quot;ref_08ecd9dd&amp;quot;&amp;gt;[https://xlinux.nist.gov/dads/HTML/mergesort.html merge sort]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# Merge sort is a divide and conquer algorithm.&amp;lt;ref name=&amp;quot;ref_1d40920a&amp;quot;&amp;gt;[https://www.techiedelight.com/merge-sort/ C++, Java and Python Implementation]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# Like all divide and conquer algorithms, merge sort divides a large array into two smaller subarrays and then recursively sort the subarrays.&amp;lt;ref name=&amp;quot;ref_1d40920a&amp;quot; /&amp;gt;&lt;br /&gt;
# sort array &amp;#039;arr&amp;#039; using auxiliary array &amp;#039;aux&amp;#039; mergeSort ( arr , aux , 0 , arr .&amp;lt;ref name=&amp;quot;ref_1d40920a&amp;quot; /&amp;gt;&lt;br /&gt;
# So here&amp;#039;s mergesort, a divide and conquer sorting algorithm.&amp;lt;ref name=&amp;quot;ref_81de6756&amp;quot;&amp;gt;[https://www.usna.edu/Users/cs/wcbrown/courses/S18SI335/lec/l10/lec.html SI335: All about Merge Sort]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# In class we made a start on analyzing mergesort.&amp;lt;ref name=&amp;quot;ref_81de6756&amp;quot; /&amp;gt;&lt;br /&gt;
# This version of Merge Sort only needs n locations to sort.&amp;lt;ref name=&amp;quot;ref_0e9ec767&amp;quot;&amp;gt;[https://rosettacode.org/wiki/Sorting_algorithms/Merge_sort Sorting algorithms/Merge sort]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# * half and perform a merge sort on each half .&amp;lt;ref name=&amp;quot;ref_0e9ec767&amp;quot; /&amp;gt;&lt;br /&gt;
# Alternatively, we can use bottom-up mergesort.&amp;lt;ref name=&amp;quot;ref_0e9ec767&amp;quot; /&amp;gt;&lt;br /&gt;
# but for the fact that merge sort needs the array to be of one element, it will keep splicing that half till it fulfills the condition of having one element array.&amp;lt;ref name=&amp;quot;ref_d7b630af&amp;quot;&amp;gt;[https://dev.to/mcfrank16/understanding-merge-sort-in-javascript-4cne Merge Sort JavaScript Understanding Merge Sort in Javascript.]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# The task is develop a merge sort algorithm that &amp;quot;splits&amp;quot; the input array recursively into k arrays.&amp;lt;ref name=&amp;quot;ref_5f64d052&amp;quot;&amp;gt;[https://stackoverflow.com/questions/61705366/merge-sort-in-k-parts merge sort in k parts]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# I initially coded two methods to merge sort with two parts, namely merge sort and merge.&amp;lt;ref name=&amp;quot;ref_5f64d052&amp;quot; /&amp;gt;&lt;br /&gt;
# Now we get can start digging into some of the more efficient big boy algorithms, like merge sort.&amp;lt;ref name=&amp;quot;ref_15b3f6e5&amp;quot;&amp;gt;[https://www.digitalocean.com/community/tutorials/js-understanding-merge-sort Understanding Merge Sort Through JavaScript]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# Similar to binary search, merge sort is a divide and conquer algorithm.&amp;lt;ref name=&amp;quot;ref_15b3f6e5&amp;quot; /&amp;gt;&lt;br /&gt;
# Merge sort is built off the idea of comparing whole arrays instead of individual items.&amp;lt;ref name=&amp;quot;ref_15b3f6e5&amp;quot; /&amp;gt;&lt;br /&gt;
# “Merge sort” is popular algorithm for sorting an array from smallest to largest.&amp;lt;ref name=&amp;quot;ref_c84ae506&amp;quot;&amp;gt;[https://blog.codeanalogies.com/2020/02/02/merge-sort-explained-by-trying-to-become-a-tennis-champion/ Merge Sort Explained By Trying To Become A Tennis Champion]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# So, this guide will give an incredibly simple explanation of how merge sort actually works.&amp;lt;ref name=&amp;quot;ref_c84ae506&amp;quot; /&amp;gt;&lt;br /&gt;
# So, using merge sort, we need to rank this group from lowest skill to highest skill.&amp;lt;ref name=&amp;quot;ref_c84ae506&amp;quot; /&amp;gt;&lt;br /&gt;
# Mergesort guarantees to sort an array of N items in time proportional to N log N, no matter what the input.&amp;lt;ref name=&amp;quot;ref_63daf859&amp;quot;&amp;gt;[https://algs4.cs.princeton.edu/22mergesort/ Mergesort]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# Merge.java is a recursive mergesort implementation based on this abstract in-place merge.&amp;lt;ref name=&amp;quot;ref_63daf859&amp;quot; /&amp;gt;&lt;br /&gt;
# We can cut the running time of mergesort substantially with some carefully considered modifications to the implementation.&amp;lt;ref name=&amp;quot;ref_63daf859&amp;quot; /&amp;gt;&lt;br /&gt;
# Mergesort is an asymptotically optimal compare-based sorting algorithm.&amp;lt;ref name=&amp;quot;ref_63daf859&amp;quot; /&amp;gt;&lt;br /&gt;
# For example, if an array is to be sorted using mergesort, then the array is divided around its middle element into two sub-arrays.&amp;lt;ref name=&amp;quot;ref_f111c25b&amp;quot;&amp;gt;[https://www.softwaretestinghelp.com/merge-sort-java/ Program To Implement MergeSort]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# Let’s see the pseudo-code for the Mergesort technique.&amp;lt;ref name=&amp;quot;ref_f111c25b&amp;quot; /&amp;gt;&lt;br /&gt;
# In the above pseudo-code, we have two routines i.e. Mergesort and merge.&amp;lt;ref name=&amp;quot;ref_f111c25b&amp;quot; /&amp;gt;&lt;br /&gt;
# The routine Mergesort splits the input array into an individual array that is easy enough to sort.&amp;lt;ref name=&amp;quot;ref_f111c25b&amp;quot; /&amp;gt;&lt;br /&gt;
# Perhaps the most useful application of the merge method is a sorting algorithm known as merge sort.&amp;lt;ref name=&amp;quot;ref_6f1e3935&amp;quot;&amp;gt;[http://www2.lawrence.edu/fast/GREGGJ/CMSC150/042Sorting/Sorting.html Merge Sort]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# What prevents that problem here is the fact that the two arrays created by mergeSort are smaller than the original.&amp;lt;ref name=&amp;quot;ref_6f1e3935&amp;quot; /&amp;gt;&lt;br /&gt;
# This method, Arrays.sort() is even faster than merge sort and also does not require a temporary array to do its work.&amp;lt;ref name=&amp;quot;ref_6f1e3935&amp;quot; /&amp;gt;&lt;br /&gt;
# A merge sort uses a technique called divide and conquer.&amp;lt;ref name=&amp;quot;ref_b8ba996b&amp;quot;&amp;gt;[https://www.bbc.co.uk/bitesize/guides/zjdkw6f/revision/5 GCSE Computer Science Revision]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# function mergeSort ( array ){ let midpoint = array .&amp;lt;ref name=&amp;quot;ref_b78dbdc0&amp;quot;&amp;gt;[https://learn.co/lessons/merge-sort-big-o Merge Sort Big O]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# Compare the big o of merge sort with that of selection sort.&amp;lt;ref name=&amp;quot;ref_b78dbdc0&amp;quot; /&amp;gt;&lt;br /&gt;
# So when is one thousand selection sort takes over a hundred times longer than merge sort.&amp;lt;ref name=&amp;quot;ref_b78dbdc0&amp;quot; /&amp;gt;&lt;br /&gt;
# We calculate the big O of mergeSort by remembering that the big O of merging is equal to the length of our two subarrays combined.&amp;lt;ref name=&amp;quot;ref_b78dbdc0&amp;quot; /&amp;gt;&lt;br /&gt;
# Note that each of these piles is individually sorted already -- that is always true with merge sort.&amp;lt;ref name=&amp;quot;ref_6cbc95a5&amp;quot;&amp;gt;[https://github.com/raywenderlich/swift-algorithm-club/tree/master/Merge%20Sort swift-algorithm-club/Merge Sort at master · raywenderlich/swift-algorithm-club · GitHub]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# Frequently used algorithms to sort arrays of data in NoSQL databases is merge sort, where as NoSQL we understand any database without typical SQL programming interpreter.&amp;lt;ref name=&amp;quot;ref_01fc7dbb&amp;quot;&amp;gt;[https://www.mdpi.com/2073-8994/9/9/176 Parallelization of Modified Merge Sort Algorithm]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# The method is compared to other sorting methods like quick sort, heap sort, and merge sort to show potential efficiency.&amp;lt;ref name=&amp;quot;ref_01fc7dbb&amp;quot; /&amp;gt;&lt;br /&gt;
# The idea we describe in this article is based on modified merge sort, which in parallel form is designed for multicore architectures.&amp;lt;ref name=&amp;quot;ref_5733bbc2&amp;quot;&amp;gt;[https://www.hindawi.com/journals/complexity/2018/8679579/ Fully Flexible Parallel Merge Sort for Multicore Architectures]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# Merge sort was improved by new ideas of sublinear methods and various approaches to parallelization.&amp;lt;ref name=&amp;quot;ref_5733bbc2&amp;quot; /&amp;gt;&lt;br /&gt;
# Quick sort, heap sort, and merge sort were also mixed and derived to present new methods of sorting.&amp;lt;ref name=&amp;quot;ref_5733bbc2&amp;quot; /&amp;gt;&lt;br /&gt;
# The research on improvements for merge sort gave new, faster processing of input string but also improved management of the data during iterations in the algorithm.&amp;lt;ref name=&amp;quot;ref_5733bbc2&amp;quot; /&amp;gt;&lt;br /&gt;
# Here, we present a parallel version of the well-known mergesort algorithm.&amp;lt;ref name=&amp;quot;ref_b37b0c2c&amp;quot;&amp;gt;[https://www.mcs.anl.gov/~itf/dbpp/text/node127.html 11.4 Mergesort]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# We next describe the parallel mergesort algorithm proper.&amp;lt;ref name=&amp;quot;ref_b37b0c2c&amp;quot; /&amp;gt;&lt;br /&gt;
# First, each task sorts its local sequence using sequential mergesort.&amp;lt;ref name=&amp;quot;ref_b37b0c2c&amp;quot; /&amp;gt;&lt;br /&gt;
# Parallel mergesort uses the hypercube communication template at multiple levels.&amp;lt;ref name=&amp;quot;ref_b37b0c2c&amp;quot; /&amp;gt;&lt;br /&gt;
===소스===&lt;br /&gt;
 &amp;lt;references /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Pythagoras0</name></author>
	</entry>
</feed>