Home > Industry/Domain > Computer science > Algorithms & data structures

Algorithms & data structures

The optimization of programming methods and organization of information to achieve a desired result more efficiently.

Contributors in Algorithms & data structures

Algorithms & data structures

Strand sort

Computer science; Algorithms & data structures

A sort algorithm that works well if many items are in order. First, begin a sublist by moving the first item from the original list to the sublist. For each subsequent item in the original list, if ...

Selection sort

Computer science; Algorithms & data structures

A sort algorithm that repeatedly looks through remaining items to find the least one and moves it to its final location. The run time is Θ(n²), where n is the number of elements. The number of swaps ...

Restricted universe sort

Computer science; Algorithms & data structures

A sort algorithm that operates on the basis that the keys are members of a restricted set of values. They may not require comparisons of keys to perform the sorting.

Regular decomposition

Computer science; Algorithms & data structures

A space decomposition method that partitions the underlying space by recursively halving it across the various dimensions instead of permitting the partitioning lines to vary.

Adaptive sort

Computer science; Algorithms & data structures

A sorting algorithm that can take advantage of existing order in the input, reducing its requirements for computational resources as a function of the disorder in the input.

Merge sort

Computer science; Algorithms & data structures

A sort algorithm that splits the items to be sorted into two groups, recursively sorts each group, and merges them into a final, sorted sequence. Run time is Θ(n log n).

Weak-heap sort

Computer science; Algorithms & data structures

A sort algorithm that builds a weak-heap, then repeatedly extracts the maximum item. In the worst case, the run time is O(n log n + 0.1 n).

Featured blossaries

10 Bizarre ways Dreams and Reality Intersect

Category: Science   1 1 Terms

Rock Bands of the '70s

Category: History   1 10 Terms