About: 2–3–4 tree     Goto   Sponge   NotDistinct   Permalink

An Entity of Type : dbo:Building, within Data Space : el.dbpedia.org associated with source document(s)

In computer science, a 2–3–4 tree (also called a 2–4 tree) is a self-balancing data structure that can be used to implement dictionaries. The numbers mean a tree where every node with children (internal node) has either two, three, or four child nodes: * a 2-node has one data element, and if internal has two child nodes; * a 3-node has two data elements, and if internal has three child nodes; * a 4-node has three data elements, and if internal has four child nodes; * 2-node * 3-node * 4-node

AttributesValues
rdf:type
rdfs:label
  • 2–3–4 tree (en)
rdfs:comment
  • In computer science, a 2–3–4 tree (also called a 2–4 tree) is a self-balancing data structure that can be used to implement dictionaries. The numbers mean a tree where every node with children (internal node) has either two, three, or four child nodes: * a 2-node has one data element, and if internal has two child nodes; * a 3-node has two data elements, and if internal has three child nodes; * a 4-node has three data elements, and if internal has four child nodes; * 2-node * 3-node * 4-node (en)
sameAs
dbp:wikiPageUsesTemplate
Subject
Link from a Wikipage to an external page
thumbnail
foaf:depiction
  • http://commons.wikimedia.org/wiki/Special:FilePath/2-3-4-tree-2-node.svg
  • http://commons.wikimedia.org/wiki/Special:FilePath/2-3-4-tree-3-node.svg
  • http://commons.wikimedia.org/wiki/Special:FilePath/2-3-4-tree-4-node.svg
  • http://commons.wikimedia.org/wiki/Special:FilePath/2-3-4-tree-insertion-stage-1.svg
  • http://commons.wikimedia.org/wiki/Special:FilePath/2-3-4-tree-insertion-stage-2.svg
  • http://commons.wikimedia.org/wiki/Special:FilePath/2-3-4-tree-insertion-stage-3.svg
  • http://commons.wikimedia.org/wiki/Special:FilePath/2-3-4-tree-insertion-stage-4.svg
gold:hypernym
prov:wasDerivedFrom
Wikipage page ID
page length (characters) of wiki page
Wikipage revision ID
Link from a Wikipage to another Wikipage
has abstract
  • In computer science, a 2–3–4 tree (also called a 2–4 tree) is a self-balancing data structure that can be used to implement dictionaries. The numbers mean a tree where every node with children (internal node) has either two, three, or four child nodes: * a 2-node has one data element, and if internal has two child nodes; * a 3-node has two data elements, and if internal has three child nodes; * a 4-node has three data elements, and if internal has four child nodes; * 2-node * 3-node * 4-node 2–3–4 trees are B-trees of order 4; like B-trees in general, they can search, insert and delete in O(log n) time. One property of a 2–3–4 tree is that all external nodes are at the same depth. 2–3–4 trees are isomorphic to red–black trees, meaning that they are equivalent data structures. In other words, for every 2–3–4 tree, there exists at least one red–black tree with data elements in the same order. Moreover, insertion and deletion operations on 2–3–4 trees that cause node expansions, splits and merges are equivalent to the color-flipping and rotations in red–black trees. Introductions to red–black trees usually introduce 2–3–4 trees first, because they are conceptually simpler. 2–3–4 trees, however, can be difficult to implement in most programming languages because of the large number of special cases involved in operations on the tree. Red–black trees are simpler to implement, so tend to be used instead. (en)
foaf:isPrimaryTopicOf
is Wikipage redirect of
is Link from a Wikipage to another Wikipage of
is foaf:primaryTopic of
Faceted Search & Find service v1.17_git151 as of Feb 20 2025


Alternative Linked Data Documents: ODE     Content Formats:   [cxml] [csv]     RDF   [text] [turtle] [ld+json] [rdf+json] [rdf+xml]     ODATA   [atom+xml] [odata+json]     Microdata   [microdata+json] [html]    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 07.20.3240 as of Nov 11 2024, on Linux (x86_64-ubuntu_focal-linux-gnu), Single-Server Edition (82 GB total memory, 2 GB memory in use)
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2025 OpenLink Software