In computer science, an in-place algorithm is an algorithm that operates directly on the input data structure without requiring extra space proportional...
8 KB (1,151 words) - 22:30, 10 September 2024
The Cooley–Tukey algorithm, named after J. W. Cooley and John Tukey, is the most common fast Fourier transform (FFT) algorithm. It re-expresses the discrete...
36 KB (5,397 words) - 03:21, 31 July 2024
In mathematics and computer science, an algorithm (/ˈælɡərɪðəm/ ) is a finite sequence of mathematically rigorous instructions, typically used to solve...
58 KB (6,735 words) - 18:51, 30 October 2024
Quickselect (category Selection algorithms)
implemented as an in-place algorithm, and beyond selecting the kth element, it also partially sorts the data. See selection algorithm for further discussion...
9 KB (1,163 words) - 13:33, 30 October 2024
In computer science, a sorting algorithm is an algorithm that puts elements of a list into an order. The most frequently used orders are numerical order...
68 KB (6,408 words) - 17:30, 26 September 2024
Merge sort (redirect from In-place merge sort)
comparison-based sorting algorithm. Most implementations produce a stable sort, which means that the relative order of equal elements is the same in the input and...
49 KB (6,729 words) - 10:02, 24 October 2024
A* (pronounced "A-star") is a graph traversal and pathfinding algorithm that is used in many fields of computer science due to its completeness, optimality...
39 KB (4,807 words) - 20:41, 2 November 2024
Fisher–Yates shuffle (redirect from Algorithm P)
The modern version of the algorithm takes time proportional to the number of items being shuffled and shuffles them in place. The Fisher–Yates shuffle...
39 KB (4,792 words) - 21:43, 24 October 2024
Binary heaps are also commonly employed in the heapsort sorting algorithm, which is an in-place algorithm because binary heaps can be implemented as...
29 KB (5,120 words) - 00:02, 13 October 2024
In computer science and operations research, a genetic algorithm (GA) is a metaheuristic inspired by the process of natural selection that belongs to the...
68 KB (8,044 words) - 01:32, 3 November 2024
In computer science, Prim's algorithm is a greedy algorithm that finds a minimum spanning tree for a weighted undirected graph. This means it finds a...
18 KB (2,155 words) - 14:54, 25 October 2024
Bresenham's line algorithm is a line drawing algorithm that determines the points of an n-dimensional raster that should be selected in order to form a...
22 KB (3,586 words) - 17:05, 1 October 2024
In computer science, the Knuth–Morris–Pratt algorithm (or KMP algorithm) is a string-searching algorithm that searches for occurrences of a "word" W within...
33 KB (4,068 words) - 22:30, 20 September 2024
A randomized algorithm is an algorithm that employs a degree of randomness as part of its logic or procedure. The algorithm typically uses uniformly random...
32 KB (4,173 words) - 21:10, 30 March 2024
In computer science, the Boyer–Moore string-search algorithm is an efficient string-searching algorithm that is the standard benchmark for practical string-search...
22 KB (2,769 words) - 09:51, 24 September 2024
An algorithm is fundamentally a set of rules or defined procedures that is typically designed and used to solve a specific problem or a broad set of problems...
71 KB (7,829 words) - 19:14, 31 October 2024
In linear algebra, the Strassen algorithm, named after Volker Strassen, is an algorithm for matrix multiplication. It is faster than the standard matrix...
24 KB (3,393 words) - 11:32, 6 December 2023
The Christofides algorithm or Christofides–Serdyukov algorithm is an algorithm for finding approximate solutions to the travelling salesman problem, on...
12 KB (1,358 words) - 00:40, 1 November 2024
Counting sort (category Sorting algorithms)
In computer science, counting sort is an algorithm for sorting a collection of objects according to keys that are small positive integers; that is, it...
12 KB (1,591 words) - 12:36, 9 February 2024
In mathematical optimization, Dantzig's simplex algorithm (or simplex method) is a popular algorithm for linear programming. The name of the algorithm...
42 KB (6,186 words) - 14:18, 5 July 2024
In quantum computing, Grover's algorithm, also known as the quantum search algorithm, is a quantum algorithm for unstructured search that finds with high...
31 KB (4,661 words) - 15:53, 19 September 2024
In statistics and statistical physics, the Metropolis–Hastings algorithm is a Markov chain Monte Carlo (MCMC) method for obtaining a sequence of random...
30 KB (4,535 words) - 20:02, 13 June 2024
K-means clustering (redirect from K-means clustering algorithm)
efficient heuristic algorithms converge quickly to a local optimum. These are usually similar to the expectation–maximization algorithm for mixtures of Gaussian...
61 KB (7,699 words) - 01:18, 30 October 2024
Time complexity (redirect from Polynomial-time algorithm)
takes to run an algorithm. Time complexity is commonly estimated by counting the number of elementary operations performed by the algorithm, supposing that...
41 KB (4,998 words) - 15:48, 2 November 2024
Bin packing problem (redirect from First fit algorithm)
involving placing each item into the first bin in which it will fit. It requires Θ(n log n) time, where n is the number of items to be packed. The algorithm can...
52 KB (6,986 words) - 20:25, 28 July 2024
published by Edsger Dijkstra in 1981. Like heapsort, smoothsort is an in-place algorithm with an upper bound of O(n log n) operations (see big O notation)...
18 KB (2,455 words) - 21:25, 14 October 2024
In computing, a cache-oblivious algorithm (or cache-transcendent algorithm) is an algorithm designed to take advantage of a processor cache without having...
13 KB (1,843 words) - 05:14, 3 November 2024
The painter's algorithm (also depth-sort algorithm and priority fill) is an algorithm for visible surface determination in 3D computer graphics that works...
13 KB (1,380 words) - 09:32, 1 October 2024
In electrical engineering and computer science, Lloyd's algorithm, also known as Voronoi iteration or relaxation, is an algorithm named after Stuart P...
15 KB (1,919 words) - 20:48, 28 February 2024