Skip to main content

Multi-way Tree Variants

Multi-way Tree Data Structures

TypeDescriptionKey CharacteristicTypical Use CaseAccess PatternMemory BehaviorNotes
Ternary TreeUp to three children3-way branchingExpression treesTraversal-basedPointer-basedGeneralization of binary
Ternary Search TreeChar-based ternary treeSpace-efficient trieDictionariesCharacter-basedPointer-basedFaster than trie
K-ary TreeK children per nodeConfigurable branchingIndexing, heapsTraversal-basedPointer-basedGeneral tree form
And-Or TreeLogical decision treeAND/OR nodesAI planningDecision-basedPointer-basedProblem solving
(a,b)-TreeGeneralized B-treeControlled balanceDatabasesLogarithmicNode-basedBasis of B-trees
Link/Cut TreeDynamic forestFast link & cutDynamic graphsPath-basedPointer-basedSplay-based
SPQR-TreeGraph decomposition treePlanarity testingGraph algorithmsStructuralNode-basedGraph theory
Spaghetti StackPath-based structureTree-like stackProgram analysisStack-basedPointer-basedSpecialized
Disjoint-setUnion–find structureFast union/findConnectivityRepresentative-basedArray-basedPath compression
Fusion TreeWord-parallel treeSub-log searchTheoretical CSBit-parallelNode-basedComplex
EnfiladeTree of intervalsRange editingText editorsRange-basedTree-basedRare
Exponential TreeMulti-level structureFast queriesTheoretical CSLogarithmicNode-basedResearch-focused
Fenwick TreeBinary indexed treePrefix sumsRange queriesIndexedContiguousCompact
Van Emde Boas TreeUniverse-based treeVery fast opsInteger setsBit-levelRecursiveHuge memory
Rose TreeArbitrary childrenGeneral treeHierarchical dataTraversal-basedPointer-basedN-ary tree