• Thumbnail for Binary search
    In computer science, binary search, also known as half-interval search, logarithmic search, or binary chop, is a search algorithm that finds the position...
    74 KB (9,657 words) - 12:08, 11 May 2025
  • Thumbnail for Binary search tree
    In computer science, a binary search tree (BST), also called an ordered or sorted binary tree, is a rooted binary tree data structure with the key of each...
    31 KB (3,088 words) - 15:35, 11 May 2025
  • Thumbnail for Self-balancing binary search tree
    In computer science, a self-balancing binary search tree (BST) is any node-based binary search tree that automatically keeps its height (maximal number...
    8 KB (1,114 words) - 13:48, 2 February 2025
  • binary search tree (Optimal BST), sometimes called a weight-balanced binary tree, is a binary search tree which provides the smallest possible search...
    19 KB (2,965 words) - 17:19, 6 May 2024
  • Thumbnail for Binary tree
    label associated with each node. Binary trees labelled this way are used to implement binary search trees and binary heaps, and are used for efficient...
    36 KB (5,067 words) - 13:32, 27 May 2025
  • Uniform binary search is an optimization of the classic binary search algorithm invented by Donald Knuth and given in Knuth's The Art of Computer Programming...
    2 KB (262 words) - 10:09, 9 January 2024
  • Thumbnail for Binary logarithm
    they count the number of steps needed for binary search and related algorithms. Other areas in which the binary logarithm is frequently used include combinatorics...
    42 KB (5,128 words) - 20:13, 16 April 2025
  • Thumbnail for Multiplicative binary search
    binary search is a variation of binary search that uses a specific permutation of keys in an array instead of the sorted order used by regular binary...
    4 KB (397 words) - 14:35, 17 February 2025
  • depth-first search (DFS), the search tree is deepened as much as possible before going to the next sibling. To traverse binary trees with depth-first search, perform...
    26 KB (2,894 words) - 19:29, 14 May 2025
  • application stores the entire key–value pair at that particular location. A Binary Search Tree is a node-based data structure where each node contains a key and...
    5 KB (710 words) - 16:22, 6 January 2024
  • are hash tables and search trees. It is sometimes also possible to solve the problem using directly addressed arrays, binary search trees, or other more...
    24 KB (2,802 words) - 02:21, 23 April 2025
  • Thumbnail for Search algorithm
    linear, binary, and hashing. Linear search algorithms check every record for the one associated with a target key in a linear fashion. Binary, or half-interval...
    11 KB (1,453 words) - 16:18, 10 February 2025
  • lists, such as binary search, when the element being searched for is near the beginning of the array. This is because exponential search will run in O...
    10 KB (1,426 words) - 22:03, 18 January 2025
  • data and allows searches, sequential access, insertions, and deletions in logarithmic time. The B-tree generalizes the binary search tree, allowing for...
    52 KB (7,243 words) - 13:26, 19 May 2025
  • Thumbnail for Tree sort
    Tree sort (redirect from Binary tree sort)
    A tree sort is a sort algorithm that builds a binary search tree from the elements to be sorted, and then traverses the tree (in-order) so that the elements...
    5 KB (644 words) - 04:27, 5 April 2025
  • Thumbnail for Random binary tree
    these trees. Random binary trees have been used for analyzing the average-case complexity of data structures based on binary search trees. For this application...
    39 KB (5,297 words) - 04:35, 5 November 2024
  • is a binary search tree with the additional property that recently accessed elements are quick to access again. Like self-balancing binary search trees...
    32 KB (4,628 words) - 22:24, 6 February 2025
  • Thumbnail for Analysis of algorithms
    state-of-the-art machine, using a linear search algorithm, and on Computer B, a much slower machine, using a binary search algorithm. Benchmark testing on the...
    25 KB (3,683 words) - 17:34, 18 April 2025
  • Thumbnail for Recursion (computer science)
    toFind, search lower half return binary_search(data, toFind, start, mid-1); else //Data is less than toFind, search upper half return binary_search(data...
    62 KB (7,388 words) - 14:45, 29 March 2025
  • of balanced binary trees. The keys are divided into groups of O(log M) consecutive elements and for each group a balanced binary search tree is created...
    11 KB (1,418 words) - 02:16, 9 March 2024
  • achieved by using binary search instead. The following C-program is an implementation. // Integer square root (using binary search) unsigned int isqrt(unsigned...
    26 KB (3,191 words) - 07:11, 19 May 2025
  • For this purpose machine learning can be used.[citation needed] The binary search algorithm is an algorithm for finding elements of a sorted list x 1...
    6 KB (751 words) - 02:25, 26 March 2025
  • Thumbnail for Trie
    tree, is a specialized search tree data structure used to store and retrieve strings from a dictionary or set. Unlike a binary search tree, nodes in a trie...
    31 KB (3,328 words) - 05:07, 12 May 2025
  • each element vary. Linear search is rarely practical because other search algorithms and schemes, such as the binary search algorithm and hash tables...
    7 KB (1,010 words) - 14:26, 28 January 2025
  • a ternary search tree is a type of trie (sometimes called a prefix tree) where nodes are arranged in a manner similar to a binary search tree, but with...
    14 KB (1,784 words) - 21:43, 13 November 2024
  • Thumbnail for Quicksort
    Three common proofs to this claim use percentiles, recurrences, and binary search trees, each providing different insights into quicksort's workings....
    71 KB (9,929 words) - 08:31, 21 May 2025
  • Thumbnail for Interpolation search
    between key values are sensible. By comparison, binary search always chooses the middle of the remaining search space, discarding one half or the other, depending...
    14 KB (1,867 words) - 12:27, 13 September 2024
  • is derived from first principles (see connection to nearly optimal binary search trees) and offers strong performance guarantees. Like Timsort, Powersort...
    15 KB (1,492 words) - 14:10, 13 May 2025
  • Thumbnail for Successive-approximation ADC
    that digitizes each sample from a continuous analog waveform using a binary search through all possible quantization levels. The successive-approximation...
    17 KB (1,929 words) - 04:46, 6 March 2025
  • Compared to binary search where the sorted array is divided into two equal-sized parts, one of which is examined further, Fibonacci search divides the...
    7 KB (903 words) - 14:37, 24 November 2024