• 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) - 21:52, 17 April 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) - 10:23, 2 May 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 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
  • 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
  • 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 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...
    35 KB (5,064 words) - 07:22, 21 March 2025
  • approach to the dynamic optimality problem on online algorithms for binary search trees involves reformulating the problem geometrically, in terms of...
    11 KB (1,621 words) - 18:27, 28 November 2023
  • 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,886 words) - 10:11, 5 March 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
  • 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
  • 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
  • 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
  • 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
  • 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 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
  • 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
  • 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
  • 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,239 words) - 01:05, 22 April 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
  • 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
  • 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...
    29 KB (3,122 words) - 10:54, 25 April 2025
  • 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) - 20:43, 27 April 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
  • Thumbnail for Stern–Brocot tree
    numbers, whose values are ordered from the left to the right as in a binary search tree. The Stern–Brocot tree was introduced independently by Moritz Stern (1858)...
    17 KB (2,589 words) - 07:00, 27 April 2025
  • 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,925 words) - 14:21, 29 April 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
  • B+ tree (redirect from B+ search trees)
    context—in particular, filesystems. This is primarily because unlike binary search trees, B+ trees have very high fanout (number of pointers to child nodes...
    28 KB (3,401 words) - 00:50, 12 April 2025
  • Thumbnail for Z-order curve
    interleaving the binary representations of its coordinate values. However, when querying a multidimensional search range in these data, using binary search is not...
    21 KB (2,681 words) - 19:21, 8 February 2025