<?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=%EC%82%BD%EC%9E%85_%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=%EC%82%BD%EC%9E%85_%EC%A0%95%EB%A0%AC"/>
	<link rel="alternate" type="text/html" href="https://wiki.mathnt.net/index.php?title=%EC%82%BD%EC%9E%85_%EC%A0%95%EB%A0%AC&amp;action=history"/>
	<updated>2026-04-04T12:53:04Z</updated>
	<subtitle>이 문서의 편집 역사</subtitle>
	<generator>MediaWiki 1.35.0</generator>
	<entry>
		<id>https://wiki.mathnt.net/index.php?title=%EC%82%BD%EC%9E%85_%EC%A0%95%EB%A0%AC&amp;diff=51264&amp;oldid=prev</id>
		<title>2021년 2월 17일 (수) 08:09에 Pythagoras0님의 편집</title>
		<link rel="alternate" type="text/html" href="https://wiki.mathnt.net/index.php?title=%EC%82%BD%EC%9E%85_%EC%A0%95%EB%A0%AC&amp;diff=51264&amp;oldid=prev"/>
		<updated>2021-02-17T08:09:33Z</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일 (수) 08:09 판&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-l88&quot; &gt;88번째 줄:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;88번째 줄:&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/Q117241 Q117241]&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/Q117241 Q117241]&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;insertion&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;/table&gt;</summary>
		<author><name>Pythagoras0</name></author>
	</entry>
	<entry>
		<id>https://wiki.mathnt.net/index.php?title=%EC%82%BD%EC%9E%85_%EC%A0%95%EB%A0%AC&amp;diff=47061&amp;oldid=prev</id>
		<title>Pythagoras0: /* 메타데이터 */ 새 문단</title>
		<link rel="alternate" type="text/html" href="https://wiki.mathnt.net/index.php?title=%EC%82%BD%EC%9E%85_%EC%A0%95%EB%A0%AC&amp;diff=47061&amp;oldid=prev"/>
		<updated>2020-12-26T12:18:17Z</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:18 판&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-l87&quot; &gt;87번째 줄:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;87번째 줄:&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/Q117241 Q117241]&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=%EC%82%BD%EC%9E%85_%EC%A0%95%EB%A0%AC&amp;diff=46261&amp;oldid=prev</id>
		<title>Pythagoras0: /* 노트 */ 새 문단</title>
		<link rel="alternate" type="text/html" href="https://wiki.mathnt.net/index.php?title=%EC%82%BD%EC%9E%85_%EC%A0%95%EB%A0%AC&amp;diff=46261&amp;oldid=prev"/>
		<updated>2020-12-21T10:20:12Z</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/Q117241 Q117241]&lt;br /&gt;
===말뭉치===&lt;br /&gt;
# To know about insertion sort implementation in C programming language, please click here.&amp;lt;ref name=&amp;quot;ref_21c98b9c&amp;quot;&amp;gt;[https://www.tutorialspoint.com/data_structures_algorithms/insertion_sort_algorithm.htm Data Structure and Algorithms Insertion Sort]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# Insertion sort is the sorting mechanism where the sorted array is built having one item at a time.&amp;lt;ref name=&amp;quot;ref_59b2e3c1&amp;quot;&amp;gt;[https://www.interviewbit.com/tutorial/insertion-sort-algorithm/ Insertion Sort Algorithm]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# Following are C, C++, Java and Python implementations of Insertion Sort.&amp;lt;ref name=&amp;quot;ref_59b2e3c1&amp;quot; /&amp;gt;&lt;br /&gt;
# Insertion sort is a simple sorting algorithm that builds the final sorted array (or list) one item at a time.&amp;lt;ref name=&amp;quot;ref_8671eb6e&amp;quot;&amp;gt;[https://en.wikipedia.org/wiki/Insertion_sort Insertion sort]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# Insertion sort iterates, consuming one input element each repetition, and grows a sorted output list.&amp;lt;ref name=&amp;quot;ref_8671eb6e&amp;quot; /&amp;gt;&lt;br /&gt;
# At each iteration, insertion sort removes one element from the input data, finds the location it belongs within the sorted list, and inserts it there.&amp;lt;ref name=&amp;quot;ref_8671eb6e&amp;quot; /&amp;gt;&lt;br /&gt;
# To perform an insertion sort, begin at the left-most element of the array and invoke Insert to insert each element encountered into its correct position.&amp;lt;ref name=&amp;quot;ref_8671eb6e&amp;quot; /&amp;gt;&lt;br /&gt;
# Insertion sort is a simple sorting algorithm that works similar to the way you sort playing cards in your hands.&amp;lt;ref name=&amp;quot;ref_9c306c5a&amp;quot;&amp;gt;[https://www.geeksforgeeks.org/insertion-sort/ Insertion Sort]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# Boundary Cases: Insertion sort takes maximum time to sort if elements are sorted in reverse order.&amp;lt;ref name=&amp;quot;ref_9c306c5a&amp;quot; /&amp;gt;&lt;br /&gt;
# Insertion sort is used when number of elements is small.&amp;lt;ref name=&amp;quot;ref_9c306c5a&amp;quot; /&amp;gt;&lt;br /&gt;
# We can use binary search to reduce the number of comparisons in normal insertion sort.&amp;lt;ref name=&amp;quot;ref_9c306c5a&amp;quot; /&amp;gt;&lt;br /&gt;
# The insertion sort, although still \(O(n^{2})\), works in a slightly different way.&amp;lt;ref name=&amp;quot;ref_b540e5b3&amp;quot;&amp;gt;[https://runestone.academy/runestone/books/published/pythonds/SortSearch/TheInsertionSort.html 6.9. The Insertion Sort — Problem Solving with Algorithms and Data Structures]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# This is exactly how insertion sort works.&amp;lt;ref name=&amp;quot;ref_c4bb1dc4&amp;quot;&amp;gt;[https://www.studytonight.com/data-structures/insertion-sorting Insertion Sort Algorithm]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# Insertion Sort is adaptive, that means it reduces its total number of steps if a partially sorted array is provided as input, making it efficient.&amp;lt;ref name=&amp;quot;ref_c4bb1dc4&amp;quot; /&amp;gt;&lt;br /&gt;
# Like bubble Sort, insertion sort also requires a single additional memory space.&amp;lt;ref name=&amp;quot;ref_c4bb1dc4&amp;quot; /&amp;gt;&lt;br /&gt;
# Insertion Sort is one of the simpler sorting algorithms.&amp;lt;ref name=&amp;quot;ref_806c7926&amp;quot;&amp;gt;[https://stackabuse.com/insertion-sort-in-javascript/ Insertion Sort in JavaScript]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# The best running time of Insertion Sort is linear, and we get it if our input array is already sorted.&amp;lt;ref name=&amp;quot;ref_806c7926&amp;quot; /&amp;gt;&lt;br /&gt;
# On the other hand, being one of the fastest quadratic sorting algorithms, Insertion Sort usually outperforms Bubble Sort, Gnome Sort and Selection Sort.&amp;lt;ref name=&amp;quot;ref_806c7926&amp;quot; /&amp;gt;&lt;br /&gt;
# In this paper, we proposed a new efficient sorting algorithm based on insertion sort concept.&amp;lt;ref name=&amp;quot;ref_7e9b4de1&amp;quot;&amp;gt;[https://www.sciencedirect.com/science/article/pii/S0167739X17301711 Bidirectional Conditional Insertion Sort algorithm; An efficient progress on the classical insertion sort]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# The proposed algorithm is called Bidirectional Conditional Insertion Sort (BCIS).&amp;lt;ref name=&amp;quot;ref_7e9b4de1&amp;quot; /&amp;gt;&lt;br /&gt;
# It is in-place sorting algorithm and it has remarkably efficient average case time complexity when compared with classical insertion sort (IS).&amp;lt;ref name=&amp;quot;ref_7e9b4de1&amp;quot; /&amp;gt;&lt;br /&gt;
# Insertion sort performs two operations: it scans through the list, comparing each pair of elements, and it swaps elements if they are out of order.&amp;lt;ref name=&amp;quot;ref_e9b7fca6&amp;quot;&amp;gt;[https://brilliant.org/wiki/insertion/ Brilliant Math &amp;amp; Science Wiki]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# The worst case for insertion sort will occur when the input list is in decreasing order.&amp;lt;ref name=&amp;quot;ref_e9b7fca6&amp;quot; /&amp;gt;&lt;br /&gt;
# Insertion sort has a fast best-case running time and is a good sorting algorithm to use if the input list is already mostly sorted.&amp;lt;ref name=&amp;quot;ref_e9b7fca6&amp;quot; /&amp;gt;&lt;br /&gt;
# next → ← prev Insertion Sort Insertion sort is the simple sorting algorithm which is commonly used in the daily lives while ordering a deck of cards.&amp;lt;ref name=&amp;quot;ref_414c65f7&amp;quot;&amp;gt;[https://www.javatpoint.com/insertion-sort Insertion Sort]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# But you can perform the insertion sort in-place, without having to create a separate array.&amp;lt;ref name=&amp;quot;ref_93d0fd41&amp;quot;&amp;gt;[https://github.com/raywenderlich/swift-algorithm-club/tree/master/Insertion%20Sort swift-algorithm-club/Insertion Sort at master · raywenderlich/swift-algorithm-club · GitHub]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# This was a description of the inner loop of the insertion sort algorithm, which you&amp;#039;ll see in the next section.&amp;lt;ref name=&amp;quot;ref_93d0fd41&amp;quot; /&amp;gt;&lt;br /&gt;
# Insertion sort is really fast if the array is already sorted.&amp;lt;ref name=&amp;quot;ref_93d0fd41&amp;quot; /&amp;gt;&lt;br /&gt;
# Insertion sort is actually very fast for sorting small arrays.&amp;lt;ref name=&amp;quot;ref_93d0fd41&amp;quot; /&amp;gt;&lt;br /&gt;
# Specifically, I’ll be discussing the Insertion Sort algorithm.&amp;lt;ref name=&amp;quot;ref_decd0b0e&amp;quot;&amp;gt;[https://medium.com/@jonathan_wong/algorithms-insertion-sort-b6f8bbda55e2 Algorithms: Insertion Sort]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# So what is the Insertion Sort algorithm?&amp;lt;ref name=&amp;quot;ref_decd0b0e&amp;quot; /&amp;gt;&lt;br /&gt;
# Now let’s imagine we were on an interview and being asked to create an insertion sort algorithm.&amp;lt;ref name=&amp;quot;ref_decd0b0e&amp;quot; /&amp;gt;&lt;br /&gt;
# From what we know about my explanation above of what the insertion sort is, we know we have to go through all of the elements of an array, or iterate through the array.&amp;lt;ref name=&amp;quot;ref_decd0b0e&amp;quot; /&amp;gt;&lt;br /&gt;
# This is called insertion sort.&amp;lt;ref name=&amp;quot;ref_09a3de3e&amp;quot;&amp;gt;[http://personal.kent.edu/~rmuhamma/Algorithms/MyAlgorithms/Sorting/insertionSort.htm Insertion Sort]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# Insertion sort is an example of an incremental algorithm; it builds the sorted sequence one number at a time.&amp;lt;ref name=&amp;quot;ref_09a3de3e&amp;quot; /&amp;gt;&lt;br /&gt;
# The time of Insertion sort is depends on the original order of a input.&amp;lt;ref name=&amp;quot;ref_09a3de3e&amp;quot; /&amp;gt;&lt;br /&gt;
# Insertion sort is an efficient algorithm for sorting a small number of elements.&amp;lt;ref name=&amp;quot;ref_e83731ea&amp;quot;&amp;gt;[https://www.ee.ryerson.ca/~courses/coe428/sorting/insertionsort.html ELE428 Data Structures and Algorithms]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# Insertion sort works the same way as one would sort a bridge or gin rummy hand, i.e. starting with an empty left hand and the cards face down on the table.&amp;lt;ref name=&amp;quot;ref_e83731ea&amp;quot; /&amp;gt;&lt;br /&gt;
# In order to analyze insertion sort the INSERTION-SORT procedure is presented with the time &amp;quot;cost&amp;quot; of each statement and the number of times each statement is executed.&amp;lt;ref name=&amp;quot;ref_e83731ea&amp;quot; /&amp;gt;&lt;br /&gt;
# Insertion sort is an elementary sorting algorithm.&amp;lt;ref name=&amp;quot;ref_fb6f105f&amp;quot;&amp;gt;[https://www.inf.hs-flensburg.de/lang/algorithmen/sortieren/insert/insertionen.htm Insertion sort]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# Obviously, insertion sort takes v i steps in each iteration i .&amp;lt;ref name=&amp;quot;ref_fb6f105f&amp;quot; /&amp;gt;&lt;br /&gt;
# No auxiliary space is required in insertion sort implementation.&amp;lt;ref name=&amp;quot;ref_05489420&amp;quot;&amp;gt;[https://www.mygreatlearning.com/blog/insertion-sort-algorithm/ Insertion Sort Algorithm using C,C++, Java and Python]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# In Insertion sort, adjacent elements are compared and sorted if they are in wrong order.&amp;lt;ref name=&amp;quot;ref_05489420&amp;quot; /&amp;gt;&lt;br /&gt;
# We hope you enjoyed this tutorial on Insertion Sort Algorithm.&amp;lt;ref name=&amp;quot;ref_05489420&amp;quot; /&amp;gt;&lt;br /&gt;
# It has O(n2) complexity, making it inefficient on large lists, and generally performs worse than the similar insertion sort.&amp;lt;ref name=&amp;quot;ref_95fcdca8&amp;quot;&amp;gt;[https://www.cpp.edu/~ftang/courses/CS241/notes/sorting.htm CS241: Data Structures &amp;amp; Algorithms II]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# Insertion sort is a comparison sort in which the sorted array (or list) is built one entry at a time.&amp;lt;ref name=&amp;quot;ref_95fcdca8&amp;quot; /&amp;gt;&lt;br /&gt;
# Every iteration of insertion sort removes an element from the input data, inserting it into the correct position in the already-sorted list, until no input elements remain.&amp;lt;ref name=&amp;quot;ref_95fcdca8&amp;quot; /&amp;gt;&lt;br /&gt;
# O(n2) algorithms, selection sort almost always outperforms bubble sort, but is generally outperformed by insertion sort.&amp;lt;ref name=&amp;quot;ref_95fcdca8&amp;quot; /&amp;gt;&lt;br /&gt;
# We will discuss three comparison-based sorting algorithms in the next few slides: Bubble Sort , Selection Sort , Insertion Sort .&amp;lt;ref name=&amp;quot;ref_56512d2b&amp;quot;&amp;gt;[https://visualgo.net/bn/sorting Sorting (Bubble, Selection, Insertion, Merge, Quick, Counting, Radix)]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# Insertion sort algorithm picks elements one by one and places it to the right position where it belongs in the sorted list of elements.&amp;lt;ref name=&amp;quot;ref_6b5c3b7d&amp;quot;&amp;gt;[https://beginnersbook.com/2015/02/insertion-sort-program-in-c/ Insertion Sort Program in C]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# 0 /* invoke the insertion sort.&amp;lt;ref name=&amp;quot;ref_1525466e&amp;quot;&amp;gt;[https://rosettacode.org/wiki/Sorting_algorithms/Insertion_sort Sorting algorithms/Insertion sort]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# Insertion sort inserts elements of a list in a sorted list.&amp;lt;ref name=&amp;quot;ref_1525466e&amp;quot; /&amp;gt;&lt;br /&gt;
# Perform insertion sort for a list of integers.&amp;lt;ref name=&amp;quot;ref_ec2c02b4&amp;quot;&amp;gt;[https://yongdanielliang.github.io/animation/web/InsertionSortNew.html Insertion Sort Animation by Y. Daniel Liang]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# In Insertion sort, you compare the key element with the previous elements.&amp;lt;ref name=&amp;quot;ref_78c3e182&amp;quot;&amp;gt;[https://www.freecodecamp.org/news/insertion-sort-what-it-is-and-how-it-works/ Insertion Sort: What it Is, and How it Works]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# Insertion sort is a simple sorting algorithm that allows for efficient, in-place sorting of the array, one element at a time.&amp;lt;ref name=&amp;quot;ref_648ae8a4&amp;quot;&amp;gt;[https://www.educative.io/edpresso/what-is-insertion-sort-in-java What is insertion sort in Java?]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# The insertion sort algorithm is the sort unknowingly used by most card players when sorting the cards in their hands.&amp;lt;ref name=&amp;quot;ref_eed37dc1&amp;quot;&amp;gt;[https://www.sparknotes.com/cs/sorting/insert/summary/ Insertion Sort: Insertion Sort]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# An insertion sort compares values in turn, starting with the second value in the list.&amp;lt;ref name=&amp;quot;ref_48b7f4f0&amp;quot;&amp;gt;[https://www.bbc.co.uk/bitesize/guides/zjdkw6f/revision/6 GCSE Computer Science Revision]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# But for smallish inputs, a simple quadratic-time algorithm such as insertion sort can actually be faster.&amp;lt;ref name=&amp;quot;ref_90f45d48&amp;quot;&amp;gt;[https://www.cs.princeton.edu/courses/archive/spring20/cos510/sf/vfa/Sort.html Sort: Insertion Sort]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# The Insertion-Sort Program Insertion sort is usually presented as an imperative program operating on arrays.&amp;lt;ref name=&amp;quot;ref_90f45d48&amp;quot; /&amp;gt;&lt;br /&gt;
# Insertion sort is usually presented as an imperative program operating on arrays.&amp;lt;ref name=&amp;quot;ref_90f45d48&amp;quot; /&amp;gt;&lt;br /&gt;
# We saw that the predicates sorted and sorted&amp;#039; are equivalent; but it is significantly harder to prove correctness of insertion sort directly from sorted&amp;#039; .&amp;lt;ref name=&amp;quot;ref_90f45d48&amp;quot; /&amp;gt;&lt;br /&gt;
# Sorting, Library Sort, Insertion Sort, Gapped Insertion Sort.&amp;lt;ref name=&amp;quot;ref_b85c329a&amp;quot;&amp;gt;[https://www.researchgate.net/publication/266703295_Insertion_Sort_is_On_log_n (PDF) Insertion Sort is O(n log n)]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# Insertion sort illustrated through a Romanian folk dance.&amp;lt;ref name=&amp;quot;ref_131b0f30&amp;quot;&amp;gt;[https://xlinux.nist.gov/dads/HTML/insertionSort.html insertion sort]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# To understand how the insertion sort works, imagine that you have a couple of cards in one hand and you need to put them in order of their rank.&amp;lt;ref name=&amp;quot;ref_dad35a13&amp;quot;&amp;gt;[https://www.codespot.org/algorithms-and-data-structures-insertion-sort/ Data Structures and Algorithms: Insertion Sort]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# The best case input about the insertion sort algorithm is when the list is already sorted, which has a linear running time (i.e., O(n)).&amp;lt;ref name=&amp;quot;ref_dad35a13&amp;quot; /&amp;gt;&lt;br /&gt;
# The average case is also quadratic, which puts insertion sort not very useful for sorting large lists.&amp;lt;ref name=&amp;quot;ref_dad35a13&amp;quot; /&amp;gt;&lt;br /&gt;
# However, insertion sort is one of the fastest algorithms for sorting very small lists.&amp;lt;ref name=&amp;quot;ref_dad35a13&amp;quot; /&amp;gt;&lt;br /&gt;
# Figure 4-7 shows how Insertion Sort operates on a small, unordered collection A of size n=16.&amp;lt;ref name=&amp;quot;ref_9eecb123&amp;quot;&amp;gt;[https://www.oreilly.com/library/view/algorithms-in-a/9780596516246/ch04s02.html Algorithms in a Nutshell [Book]]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# Insertion Sort need only set aside space for a single element to function properly.&amp;lt;ref name=&amp;quot;ref_9eecb123&amp;quot; /&amp;gt;&lt;br /&gt;
# Given the example in Figure 4-7, Insertion Sort needed to transpose 60 elements that were already in sorted order.&amp;lt;ref name=&amp;quot;ref_9eecb123&amp;quot; /&amp;gt;&lt;br /&gt;
# The optimal performance occurs when the array is already sorted, and arrays sorted in reverse order naturally produce the worst performance for Insertion Sort.&amp;lt;ref name=&amp;quot;ref_9eecb123&amp;quot; /&amp;gt;&lt;br /&gt;
# For example, all types of sorting programs including bubble sort, merge sort, insertion sort , etc and their invariants stand in the same cluster.&amp;lt;ref name=&amp;quot;ref_266af5f6&amp;quot;&amp;gt;[https://encyclopedia2.thefreedictionary.com/insertion+sort insertion sort]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# Every sublist is sorted using a straightforward insertion sort .&amp;lt;ref name=&amp;quot;ref_266af5f6&amp;quot; /&amp;gt;&lt;br /&gt;
# Definition - What does Insertion Sort mean?&amp;lt;ref name=&amp;quot;ref_0176de3a&amp;quot;&amp;gt;[https://www.techopedia.com/definition/20039/insertion-sort What is an Insertion Sort?]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# Insertion sort&amp;#039;s advantage is that it only scans as many elements as it needs in order to place the k + 1st element, while selection sort must scan all remaining elements to find the k + 1st element.&amp;lt;ref name=&amp;quot;ref_e164c67a&amp;quot;&amp;gt;[https://www.earthtoabigail.com/blog/audio-representation-selection-and-insertion-sort-ruby-sonicpi Understanding Selection And Insertion Sort By Creating Audio Representations With Ruby And Sonic Pi — Earth To Abigail]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# Wikipedia also informs us that usually, insertion sort needs even less comparisons than selection sort and therefore outperforms selection sort in most cases.&amp;lt;ref name=&amp;quot;ref_e164c67a&amp;quot; /&amp;gt;&lt;br /&gt;
# Stability Insertion sort is stable, i.e. the relative order of equal keys is not changed, provided that you are careful about scanning the sorted region from right to left.&amp;lt;ref name=&amp;quot;ref_cc9db901&amp;quot;&amp;gt;[http://users.monash.edu/~lloyd/tildeAlgDS/Sort/Insertion/ Insertion Sort]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# Then I want to discuss a particular sorting algorithm that&amp;#039;s called insertion sort.&amp;lt;ref name=&amp;quot;ref_d301efdc&amp;quot;&amp;gt;[https://learn.saylor.org/mod/page/view.php?id=18994 CS201: Insertion Sort and Merge Sort]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# and you run insertion sort or merge sort.&amp;lt;ref name=&amp;quot;ref_d301efdc&amp;quot; /&amp;gt;&lt;br /&gt;
# But I&amp;#039;ll just give you pseudocode here and walk through what insertion sort looks like because the purpose of describing this algorithm to you is to analyze its complexity.&amp;lt;ref name=&amp;quot;ref_d301efdc&amp;quot; /&amp;gt;&lt;br /&gt;
# So a binary search in insertion sort gives you theta n log n for compares.&amp;lt;ref name=&amp;quot;ref_d301efdc&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>