<?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=%EA%B1%B0%ED%92%88_%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=%EA%B1%B0%ED%92%88_%EC%A0%95%EB%A0%AC"/>
	<link rel="alternate" type="text/html" href="https://wiki.mathnt.net/index.php?title=%EA%B1%B0%ED%92%88_%EC%A0%95%EB%A0%AC&amp;action=history"/>
	<updated>2026-04-04T22:41:47Z</updated>
	<subtitle>이 문서의 편집 역사</subtitle>
	<generator>MediaWiki 1.35.0</generator>
	<entry>
		<id>https://wiki.mathnt.net/index.php?title=%EA%B1%B0%ED%92%88_%EC%A0%95%EB%A0%AC&amp;diff=51271&amp;oldid=prev</id>
		<title>2021년 2월 17일 (수) 08:10에 Pythagoras0님의 편집</title>
		<link rel="alternate" type="text/html" href="https://wiki.mathnt.net/index.php?title=%EA%B1%B0%ED%92%88_%EC%A0%95%EB%A0%AC&amp;diff=51271&amp;oldid=prev"/>
		<updated>2021-02-17T08:10:22Z</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: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;  &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/Q60864 Q60864]&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/Q60864 Q60864]&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;bubble&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;LOWER&amp;#039;: &amp;#039;sinking&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;bubblesort&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=%EA%B1%B0%ED%92%88_%EC%A0%95%EB%A0%AC&amp;diff=47068&amp;oldid=prev</id>
		<title>Pythagoras0: /* 메타데이터 */ 새 문단</title>
		<link rel="alternate" type="text/html" href="https://wiki.mathnt.net/index.php?title=%EA%B1%B0%ED%92%88_%EC%A0%95%EB%A0%AC&amp;diff=47068&amp;oldid=prev"/>
		<updated>2020-12-26T12:18:44Z</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-l97&quot; &gt;97번째 줄:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;97번째 줄:&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/Q60864 Q60864]&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=%EA%B1%B0%ED%92%88_%EC%A0%95%EB%A0%AC&amp;diff=46254&amp;oldid=prev</id>
		<title>Pythagoras0: /* 노트 */ 새 문단</title>
		<link rel="alternate" type="text/html" href="https://wiki.mathnt.net/index.php?title=%EA%B1%B0%ED%92%88_%EC%A0%95%EB%A0%AC&amp;diff=46254&amp;oldid=prev"/>
		<updated>2020-12-21T10:18: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/Q60864 Q60864]&lt;br /&gt;
===말뭉치===&lt;br /&gt;
# Bubble sort is a simple sorting algorithm.&amp;lt;ref name=&amp;quot;ref_0d3acaf4&amp;quot;&amp;gt;[https://www.tutorialspoint.com/data_structures_algorithms/bubble_sort_algorithm.htm Bubble Sort Algorithm]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# We observe in algorithm that Bubble Sort compares each pair of array element unless the whole array is completely sorted in an ascending order.&amp;lt;ref name=&amp;quot;ref_0d3acaf4&amp;quot; /&amp;gt;&lt;br /&gt;
# To know about bubble sort implementation in C programming language, please click here.&amp;lt;ref name=&amp;quot;ref_0d3acaf4&amp;quot; /&amp;gt;&lt;br /&gt;
# In the case of nearly sorted data, bubble sort takes O(n) time, but requires at least 2 passes through the data (whereas insertion sort requires something more like 1 pass).&amp;lt;ref name=&amp;quot;ref_0b7d89dd&amp;quot;&amp;gt;[https://www.toptal.com/developers/sorting-algorithms/bubble-sort Bubble Sort - Sorting Algorithm Animations]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# The bubble sort makes multiple passes through a list.&amp;lt;ref name=&amp;quot;ref_c9433585&amp;quot;&amp;gt;[https://runestone.academy/runestone/books/published/pythonds/SortSearch/TheBubbleSort.html 6.7. The Bubble Sort — Problem Solving with Algorithms and Data Structures]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# Figure 1 shows the first pass of a bubble sort.&amp;lt;ref name=&amp;quot;ref_c9433585&amp;quot; /&amp;gt;&lt;br /&gt;
# ActiveCode 1 shows the complete bubbleSort function.&amp;lt;ref name=&amp;quot;ref_c9433585&amp;quot; /&amp;gt;&lt;br /&gt;
# A bubble sort is often considered the most inefficient sorting method since it must exchange items before the final location is known.&amp;lt;ref name=&amp;quot;ref_c9433585&amp;quot; /&amp;gt;&lt;br /&gt;
# Bubble Sort is a simple algorithm which is used to sort a given set of n elements provided in form of an array with n number of elements.&amp;lt;ref name=&amp;quot;ref_834df58d&amp;quot;&amp;gt;[https://www.studytonight.com/data-structures/bubble-sort Bubble Sort Algorithm]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# In Bubble Sort, n-1 comparisons will be done in the 1st pass, n-2 in 2nd pass, n-3 in 3rd pass and so on.&amp;lt;ref name=&amp;quot;ref_834df58d&amp;quot; /&amp;gt;&lt;br /&gt;
# Following are the Time and Space complexity for the Bubble Sort algorithm.&amp;lt;ref name=&amp;quot;ref_834df58d&amp;quot; /&amp;gt;&lt;br /&gt;
# Bubble sort is an algorithm that compares the adjacent elements and swaps their positions if they are not in the intended order.&amp;lt;ref name=&amp;quot;ref_f855bd38&amp;quot;&amp;gt;[https://www.programiz.com/dsa/bubble-sort Bubble Sort Algorithm]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# Optimized bubble sort in Java import java.util.&amp;lt;ref name=&amp;quot;ref_f855bd38&amp;quot; /&amp;gt;&lt;br /&gt;
# Bubble sort, sometimes referred to as sinking sort, is a simple sorting algorithm that repeatedly steps through the list, compares adjacent elements and swaps them if they are in the wrong order.&amp;lt;ref name=&amp;quot;ref_f29d1bb9&amp;quot;&amp;gt;[https://en.wikipedia.org/wiki/Bubble_sort Bubble sort]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# Bubble sort has a worst-case and average complexity of О(n2), where n is the number of items being sorted.&amp;lt;ref name=&amp;quot;ref_f29d1bb9&amp;quot; /&amp;gt;&lt;br /&gt;
# Even other О(n2) sorting algorithms, such as insertion sort, generally run faster than bubble sort, and are no more complex.&amp;lt;ref name=&amp;quot;ref_f29d1bb9&amp;quot; /&amp;gt;&lt;br /&gt;
# When the list is already sorted (best-case), the complexity of bubble sort is only O(n).&amp;lt;ref name=&amp;quot;ref_f29d1bb9&amp;quot; /&amp;gt;&lt;br /&gt;
# Should the phrase Bubble Sort be the first that springs to mind at the end of a course or several years later?&amp;lt;ref name=&amp;quot;ref_27c1adf4&amp;quot;&amp;gt;[https://users.cs.duke.edu/~ola/bubble/bubble.html Bubble Sort: An Archaeological Algorithmic Analysis]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# We will draw the line, however, at the inefficient N2 algorithm bubble sort.&amp;lt;ref name=&amp;quot;ref_27c1adf4&amp;quot; /&amp;gt;&lt;br /&gt;
# In an effort to determine why bubble sort is popular we traced its origins.&amp;lt;ref name=&amp;quot;ref_27c1adf4&amp;quot; /&amp;gt;&lt;br /&gt;
# That paper refers to ``sorting by exchange&amp;#039;&amp;#039;, but not to bubble sort.&amp;lt;ref name=&amp;quot;ref_27c1adf4&amp;quot; /&amp;gt;&lt;br /&gt;
# Bubble sort is a basic algorithm for arranging a string of numbers or other elements in the correct order.&amp;lt;ref name=&amp;quot;ref_e1ac8ede&amp;quot;&amp;gt;[https://www.productplan.com/glossary/bubble-sort/ Definition and Overview]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# Computer programmers use bubble sort to arrange a sequence of numbers in the correct order.&amp;lt;ref name=&amp;quot;ref_e1ac8ede&amp;quot; /&amp;gt;&lt;br /&gt;
# Because it is the simplest type of sorting algorithm, bubble sort does not get used much in real-world computer science.&amp;lt;ref name=&amp;quot;ref_e1ac8ede&amp;quot; /&amp;gt;&lt;br /&gt;
# Because it has to repeatedly cycle through the entire set of elements, comparing only two adjacent items at a time, bubble sort is not optimal for more massive datasets.&amp;lt;ref name=&amp;quot;ref_e1ac8ede&amp;quot; /&amp;gt;&lt;br /&gt;
# With a bubble sort, numbers sort themselves as they bubble to the left of a group of numbers.&amp;lt;ref name=&amp;quot;ref_3096045c&amp;quot;&amp;gt;[https://www.kidscodecs.com/bubble-sorts/ A Brief Introduction to Bubble Sorts]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# Bubble Sort, sometimes also referred to as Sinking Sort is one of the most widely known sorting algorithms.&amp;lt;ref name=&amp;quot;ref_3df898f4&amp;quot;&amp;gt;[https://stackabuse.com/bubble-sort-and-cocktail-shaker-sort-in-javascript/ Bubble Sort and Cocktail Shaker Sort in JavaScript]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# In this article, we&amp;#039;ll explain how Bubble Sort works and implement it in JavaScript.&amp;lt;ref name=&amp;quot;ref_3df898f4&amp;quot; /&amp;gt;&lt;br /&gt;
# This algorithm extends Bubble Sort by operating in two directions.&amp;lt;ref name=&amp;quot;ref_3df898f4&amp;quot; /&amp;gt;&lt;br /&gt;
# It compares more elements per iteration than regular Bubble Sort and it does double the swaps per iteration.&amp;lt;ref name=&amp;quot;ref_3df898f4&amp;quot; /&amp;gt;&lt;br /&gt;
# Bubble sort is one of the simplest and intuitive sorting algorithms to understand.&amp;lt;ref name=&amp;quot;ref_ffc722b4&amp;quot;&amp;gt;[https://medium.com/datadriveninvestor/sorting-algorithms-bubble-sort-9410342e0300 Sorting Algorithms: Bubble Sort]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# In Bubble Sort, we iterate through the array multiple times and swap values until they are all in the correct order.&amp;lt;ref name=&amp;quot;ref_ffc722b4&amp;quot; /&amp;gt;&lt;br /&gt;
# As mentioned earlier, bubble sort performs its swaps in-place.&amp;lt;ref name=&amp;quot;ref_ffc722b4&amp;quot; /&amp;gt;&lt;br /&gt;
# We have built our bubble sort function!&amp;lt;ref name=&amp;quot;ref_ffc722b4&amp;quot; /&amp;gt;&lt;br /&gt;
# To calculate the complexity of the bubble sort algorithm, it is useful to determine how many comparisons each loop performs.&amp;lt;ref name=&amp;quot;ref_9512b020&amp;quot;&amp;gt;[https://brilliant.org/wiki/bubble-sort/ Brilliant Math &amp;amp; Science Wiki]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# It is possible to modify bubble sort to keep track of the number of swaps it performs.&amp;lt;ref name=&amp;quot;ref_9512b020&amp;quot; /&amp;gt;&lt;br /&gt;
# If an array is already in sorted order, and bubble sort makes no swaps, the algorithm can terminate after one pass.&amp;lt;ref name=&amp;quot;ref_9512b020&amp;quot; /&amp;gt;&lt;br /&gt;
# Though bubble sort is simple and easy to implement, it is highly impractical for solving most problems due to its slow running time.&amp;lt;ref name=&amp;quot;ref_9512b020&amp;quot; /&amp;gt;&lt;br /&gt;
# Bubble sort, also referred to as comparison sort, is a simple sorting algorithm that repeatedly goes through the list, compares adjacent elements and swaps them if they are in the wrong order.&amp;lt;ref name=&amp;quot;ref_f89d2844&amp;quot;&amp;gt;[https://www.interviewbit.com/tutorial/bubble-sort/ InterviewBit]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# In Bubble Sort, n-1 comparisons are done in the 1st pass, n-2 in 2nd pass, n-3 in 3rd pass and so on.&amp;lt;ref name=&amp;quot;ref_f89d2844&amp;quot; /&amp;gt;&lt;br /&gt;
# What is the advantage of bubble sort over other sorting techniques?&amp;lt;ref name=&amp;quot;ref_f89d2844&amp;quot; /&amp;gt;&lt;br /&gt;
# The built-in ability to detect whether the list is sorted efficiently is the only advantage of bubble sort over other sorting techniques.&amp;lt;ref name=&amp;quot;ref_f89d2844&amp;quot; /&amp;gt;&lt;br /&gt;
# In the bubble sort technique, each of the elements in the list is compared to its adjacent element.&amp;lt;ref name=&amp;quot;ref_407ddc6e&amp;quot;&amp;gt;[https://www.softwaretestinghelp.com/bubble-sort/ Bubble Sort In C++ With Examples]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# Using the bubble sort technique, sorting is done in passes or iteration.&amp;lt;ref name=&amp;quot;ref_407ddc6e&amp;quot; /&amp;gt;&lt;br /&gt;
# The above given is the pseudo-code for bubble sort technique.&amp;lt;ref name=&amp;quot;ref_407ddc6e&amp;quot; /&amp;gt;&lt;br /&gt;
# Bubble sort technique can be implemented in any programming language.&amp;lt;ref name=&amp;quot;ref_407ddc6e&amp;quot; /&amp;gt;&lt;br /&gt;
# We can create a java program to sort array elements using bubble sort.&amp;lt;ref name=&amp;quot;ref_d472ea6b&amp;quot;&amp;gt;[https://www.javatpoint.com/bubble-sort-in-java Bubble Sort in Java]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# In bubble sort algorithm, array is traversed from first element to last element.&amp;lt;ref name=&amp;quot;ref_d472ea6b&amp;quot; /&amp;gt;&lt;br /&gt;
# In Bubble sort, Each element of the array is compared with its adjacent element.&amp;lt;ref name=&amp;quot;ref_196d0c09&amp;quot;&amp;gt;[https://www.javatpoint.com/bubble-sort Bubble Sort]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# A of n elements whose elements are to be sorted by using Bubble sort.&amp;lt;ref name=&amp;quot;ref_196d0c09&amp;quot; /&amp;gt;&lt;br /&gt;
# In this tutorial, we saw how Bubble Sort works, and it&amp;#039;s implementation in Java.&amp;lt;ref name=&amp;quot;ref_9bbed0fc&amp;quot;&amp;gt;[https://www.baeldung.com/java-bubble-sort Bubble Sort in Java]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# So to summarise, the Bubble Sort algorithm begins by setting Swap to False, checks each pair of items in the set comparing their size.&amp;lt;ref name=&amp;quot;ref_2cb9862d&amp;quot;&amp;gt;[https://www.futurelearn.com/info/courses/programming-102-think-like-a-computer-scientist/0/steps/53111 An introduction to Bubble Sorts]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# In the following example, we’ll use the Bubble Sort to organise a variety of balls used in some different sports, according to their size.&amp;lt;ref name=&amp;quot;ref_2cb9862d&amp;quot; /&amp;gt;&lt;br /&gt;
# This is similar to how the Bubble Sort algorithm works.&amp;lt;ref name=&amp;quot;ref_2cb9862d&amp;quot; /&amp;gt;&lt;br /&gt;
# In this step, we’re going to look at a method of sorting lists called the Bubble Sort.&amp;lt;ref name=&amp;quot;ref_2cb9862d&amp;quot; /&amp;gt;&lt;br /&gt;
# There are many kinds of sorting algorithms; we will take the bubble sort for an example.&amp;lt;ref name=&amp;quot;ref_6c9f5851&amp;quot;&amp;gt;[https://www.sciencedirect.com/topics/engineering/bubble-sort Bubble Sort - an overview]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# A bubble sort algorithm goes through a list of data a number of times, comparing two items that are side by side to see which is out of order.&amp;lt;ref name=&amp;quot;ref_3cb23c50&amp;quot;&amp;gt;[https://www.bbc.co.uk/bitesize/guides/z2m3b9q/revision/2 KS3 Computer Science Revision]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# For example, in Bubble Sort (and Merge Sort), there is an option to also compute the inversion index of the input array (this is an advanced topic ).&amp;lt;ref name=&amp;quot;ref_c7019571&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;
# 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_c7019571&amp;quot; /&amp;gt;&lt;br /&gt;
# Although it makes Bubble Sort runs faster in general cases, this improvement idea does not change O(N^2) time complexity of Bubble Sort...&amp;lt;ref name=&amp;quot;ref_c7019571&amp;quot; /&amp;gt;&lt;br /&gt;
# Bubble sort in C to arrange numbers in ascending order; you can modify it for descending order and can also sort strings.&amp;lt;ref name=&amp;quot;ref_cc4f46a8&amp;quot;&amp;gt;[https://www.programmingsimplified.com/c/source-code/c-program-bubble-sort Bubble sort in C]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# Bubble sort is a sorting algorithm that is used to sort items in a list in ascending order.&amp;lt;ref name=&amp;quot;ref_9b0b9558&amp;quot;&amp;gt;[https://www.guru99.com/bubble-sort.html Bubble Sort Algorithm with Python Example]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# By default, the bubble sort algorithm compares all items in the list regardless of whether the list is already sorted or not.&amp;lt;ref name=&amp;quot;ref_9b0b9558&amp;quot; /&amp;gt;&lt;br /&gt;
# Starts a for loop that runs the bubble sort algorithm (n – 1) times.&amp;lt;ref name=&amp;quot;ref_9b0b9558&amp;quot; /&amp;gt;&lt;br /&gt;
# Assigns the value of the function bubbleSort to a variable result.&amp;lt;ref name=&amp;quot;ref_9b0b9558&amp;quot; /&amp;gt;&lt;br /&gt;
# In this article, we will be starting with the simplest one, the Bubble Sort.&amp;lt;ref name=&amp;quot;ref_48b1838f&amp;quot;&amp;gt;[https://towardsdatascience.com/demystifying-bubble-sort-e1cc6b15a08d Demystifying Bubble Sort]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# Bidirectional bubble sort usually does better since at least one item is moved forward or backward to its place in the list with each pass.&amp;lt;ref name=&amp;quot;ref_331540c5&amp;quot;&amp;gt;[https://xlinux.nist.gov/dads/HTML/bubblesort.html bubble sort]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# The name &amp;quot;sinking sort&amp;quot; comes from elements sinking down to their proper position.&amp;lt;ref name=&amp;quot;ref_331540c5&amp;quot; /&amp;gt;&lt;br /&gt;
# In this article, you&amp;#039;ll learn about bubble sort, including a modified bubble sort that&amp;#039;s slightly more efficient; insertion sort; and selection sort.&amp;lt;ref name=&amp;quot;ref_5b5ddbd2&amp;quot;&amp;gt;[https://www.cprogramming.com/tutorial/computersciencetheory/sorting1.html Bubble Sort and Modified Bubble Sort]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# The bubble sort works by iterating down an array to be sorted from the first element to the last, comparing each pair of elements and switching their positions if necessary.&amp;lt;ref name=&amp;quot;ref_5b5ddbd2&amp;quot; /&amp;gt;&lt;br /&gt;
# a bubble sort would lead to the following sequence of partially sorted arrays: 21354, 21345, 12345.&amp;lt;ref name=&amp;quot;ref_5b5ddbd2&amp;quot; /&amp;gt;&lt;br /&gt;
# A better version of bubble sort, known as modified bubble sort, includes a flag that is set if an exchange is made after an entire pass over the array.&amp;lt;ref name=&amp;quot;ref_5b5ddbd2&amp;quot; /&amp;gt;&lt;br /&gt;
# The bubble sort works by passing sequentially over a list, comparing each value to the one immediately after it.&amp;lt;ref name=&amp;quot;ref_dc785aaf&amp;quot;&amp;gt;[https://rosettacode.org/wiki/Sorting_algorithms/Bubble_sort Sorting algorithms/Bubble sort]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# Here is a generic bubble sort() implementation that you can copy/paste to your Awk programs.&amp;lt;ref name=&amp;quot;ref_dc785aaf&amp;quot; /&amp;gt;&lt;br /&gt;
# This demo of a bubble sort on the EDSAC shows how awkward it was to deal with arrays in the absence of an index register (one was added in 1953).&amp;lt;ref name=&amp;quot;ref_dc785aaf&amp;quot; /&amp;gt;&lt;br /&gt;
# For the most part, bubble sort works against J&amp;#039;s strengths.&amp;lt;ref name=&amp;quot;ref_dc785aaf&amp;quot; /&amp;gt;&lt;br /&gt;
# Bubble sort is one of the easiest and brute force sorting algorithm.&amp;lt;ref name=&amp;quot;ref_61f6e883&amp;quot;&amp;gt;[https://www.mygreatlearning.com/blog/bubble-sort/ What is Bubble Sort Algorithm Using C,C++, Java and Python]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# In Bubble sort, adjacent elements are compared and sorted if they are in the wrong order.&amp;lt;ref name=&amp;quot;ref_61f6e883&amp;quot; /&amp;gt;&lt;br /&gt;
# This brings us to the end of this article where we learned about bubble sort and its implementation in different languages.&amp;lt;ref name=&amp;quot;ref_61f6e883&amp;quot; /&amp;gt;&lt;br /&gt;
# A quick definition of bubble sort is that, it bubbles up at the top the largest element inside an array.&amp;lt;ref name=&amp;quot;ref_980ef460&amp;quot;&amp;gt;[https://dev.to/mcfrank16/understanding-bubble-sort-algorithm-in-javascript-3oig Understanding Bubble Sort Algorithm in Javascript.]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# The algorithm for bubble sort requires a pair of nested loops.&amp;lt;ref name=&amp;quot;ref_8a935478&amp;quot;&amp;gt;[https://www.sparknotes.com/cs/sorting/bubble/section1/ Bubble Sort: The Bubble Sort Algorithm]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# As explained above, bubble sort is structured so that on each pass through the list the next largest element of the data is moved to its proper place.&amp;lt;ref name=&amp;quot;ref_8a935478&amp;quot; /&amp;gt;&lt;br /&gt;
# The best case for bubble sort occurs when the list is already sorted or nearly sorted.&amp;lt;ref name=&amp;quot;ref_8a935478&amp;quot; /&amp;gt;&lt;br /&gt;
# In the case where the list is already sorted, bubble sort will terminate after the first iteration, since no swaps were made.&amp;lt;ref name=&amp;quot;ref_8a935478&amp;quot; /&amp;gt;&lt;br /&gt;
# This is an inplace algorithm just like bubble sort which converts the elements of the input array into strings and compares them based on their UTF-16 code unit values.&amp;lt;ref name=&amp;quot;ref_5786bca9&amp;quot;&amp;gt;[https://flexiple.com/bubble-sort-javascript/ Bubble Sort in Javascript]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# In this article, we cover breakdown Bubble Sort and then also share its implementation in Javascript.&amp;lt;ref name=&amp;quot;ref_5786bca9&amp;quot; /&amp;gt;&lt;br /&gt;
# If you are new to the concept of sorting, each section of the article would be useful - concept of bubble sort, its algorithms, efficiency, etc.&amp;lt;ref name=&amp;quot;ref_5786bca9&amp;quot; /&amp;gt;&lt;br /&gt;
# If you are a newbie to sorting, Bubble sort is a great place to start!&amp;lt;ref name=&amp;quot;ref_5786bca9&amp;quot; /&amp;gt;&lt;br /&gt;
# One of the first sorting algorithms often taught to computer science students is the bubble sort.&amp;lt;ref name=&amp;quot;ref_6a15c2ec&amp;quot;&amp;gt;[https://www.honeybadger.io/blog/ruby-bubble-sort/ Understanding and Implementing Bubble Sort in Ruby]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# Even if not practical, the bubble sort may come up during an interview, and it&amp;#039;s generally a good place to start when learning sorting algorithms.&amp;lt;ref name=&amp;quot;ref_6a15c2ec&amp;quot; /&amp;gt;&lt;br /&gt;
# Later in this series, we&amp;#039;ll discuss and dissect more efficient algorithms that we can compare back to the bubble sort.&amp;lt;ref name=&amp;quot;ref_6a15c2ec&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>