Search results

Jump to: navigation, search
  • ...sing in Sleator and Tarjan's analysis of the performance of the [[link-cut tree]] data structure. ...-light decomposition'' of a tree <math>T=(V,E)</math> is a coloring of the tree's edges. Each edge is either ''heavy'' or ''light''. To determine which, co
    9 KB (1,665 words) - 12:40, 6 August 2015
  • ...de and conquer|divide-and-conquer]] paradigm, which can be thought of as a tree of intervals of an underlying array, constructed so that queries on ranges ...e that we are doing so. Bear in mind, however, that other types of segment tree exist, which are discussed later in the article.
    21 KB (3,669 words) - 02:34, 6 April 2016
  • ...tree is called ''pruning'', because it is like cutting a branch off a real tree. This is the meaning of ''don't do anything stupid''. Obviously, the more we prune, the smaller is the remaining part of the tree that we have to search, so the faster our algorithm is. This is the meaning
    7 KB (1,155 words) - 01:34, 5 January 2012
  • ...nd ''1''. In virtually all computers ever built, data are strings over the binary alphabet, and are known as bit strings. ...ere may be up to <math>O(N)</math>) to its children. These links should be indexed by character, so that we can trace down a path of characters from root to l
    12 KB (1,959 words) - 23:56, 23 November 2011
  • ...in practice are '''zero-indexed''' or '''zero-based'''; that is, they are indexed with consecutive natural numbers starting from zero. This is probably due t ...indexed, but are also often '''one-based''' or '''one-indexed''', that is, indexed with consecutive natural numbers starting from one. The author usually choo
    17 KB (2,904 words) - 03:08, 17 April 2012
  • ...e eponymous tall, woody plants, as these are also connected and acyclic (a tree is in one piece, but its branches never form cycles). A collection of disjo ...aph, any two of these three statements, taken together, imply the third ([[Tree/Proof of properties of trees|proof]]):
    17 KB (2,906 words) - 03:22, 12 December 2011
  • ...sian_tree.svg|250px|thumb|right|A sequence and its corresponding Cartesian tree]] ...[[inorder traversal]] is that sequence. This is known as the '''Cartesian tree''' for that sequence.
    17 KB (3,062 words) - 18:02, 13 June 2016
  • ...d <math>P</math> carry out '''reverse processes'''. Given an nonempty zero-indexed array <math>A</math>: ...but is most easily and efficiently accomplished using the [[binary indexed tree]] data structure, which is specifically designed to solve this problem and
    25 KB (4,594 words) - 23:35, 19 December 2023
  • ...the <math>O(\log n)</math> time associated with a [[balanced binary search tree]] operation. Thus, BBSTs implement a superset of the functionality of heaps ...of 2 for each additional dimension), and an <math>O(\log n)</math> segment tree operation is generally slower than an <math>O(\log n)</math> BIT operation,
    4 KB (675 words) - 08:49, 18 February 2012
  • '''Binary search''' is the term used in computer science for the discrete version of ...e up to <math>N</math> steps. We see that the ''bisection strategy'', or ''binary search'', is a vast improvement over the linear search.
    21 KB (3,719 words) - 05:17, 19 March 2017
  • ...tree]] (SBBST) first published by Chinese student Qifeng Chen in 2007. The tree is rebalanced by examining the sizes of each node's subtrees. It is not to ...ice."<ref>Chen, Qifeng. [http://www.scribd.com/doc/3072015/ "Size Balanced Tree"], Guandong, China, 29 December 2006.</ref>
    11 KB (1,721 words) - 18:37, 10 August 2019