Bubble sort (redirect from Bubblesort)
pseudocode the algorithm can be expressed as (0-based array): procedure bubbleSort(A : list of sortable items) n := length(A) repeat swapped := false for...
19 KB (2,357 words) - 20:38, 18 March 2025
sorting algorithm, such as bubblesort, to sort its inputs and return the sorted list. That is to say, badsort(L, 0) = bubblesort(L). Therefore, badsort's...
15 KB (1,884 words) - 20:51, 18 March 2025
TXL (programming language) (section BubbleSort)
TXL is a special-purpose programming language originally designed by Charles Halpern-Hamu and James Cordy at the University of Toronto in 1985. The acronym...
4 KB (461 words) - 01:13, 24 July 2022
{\displaystyle n^{2}} n 2 {\displaystyle n^{2}} 1 Yes Exchanging A variant of Bubblesort which deals well with small values at end of list Gnome sort n n 2 {\displaystyle...
69 KB (6,556 words) - 14:37, 12 April 2025
Insertion Sort Quick Sort Heap Sort Radix Sort Selection sort Consider a Bubblesort, where adjacent records are swapped in order to get them into the right...
2 KB (305 words) - 10:24, 3 December 2022
although SortArray is now a built-in function of PureBasic. Procedure bubbleSort(Array a(1)) Protected i, itemCount, hasChanged itemCount = ArraySize(a())...
14 KB (1,220 words) - 06:20, 14 March 2025
processors with long-range connections. The single-processor algorithm, like bubblesort, is simple but not very efficient. Here a zero-based index is assumed:...
8 KB (1,035 words) - 10:06, 14 April 2025
a Breakout clone which, while basic, was described as very addictive. Bubblesort is an implementation of the bubble sort sorting algorithm. Evolution is...
4 KB (387 words) - 10:57, 22 December 2023
{\displaystyle \{0,1\}} . This can be fixed by flipping k manually. Program bubblesort declare n: integer, A: array [0..n-1] of integer initially n = 20 # <||...
4 KB (672 words) - 03:09, 29 December 2023
path : [ {"-":[{"-" : [l ,i]},1]}] } } } - set : {i : {-:[i,1]}} - z Bubblesort input: {"type": "array", "items": "double"} output: {"type": "array",...
6 KB (580 words) - 01:30, 2 December 2024