Stack tree

Stack tree

A stack tree is a binary tree where no node other than the root has more than one non-leaf child. As the elements of a binary tree have 2 children, this means that one points to the next node (and hence is a non-leaf child) and one points to a data element, or NULL. Hence the tree is essentially a singly linked linked list, with data items hanging off each node.

References

* [http://www.nist.gov/dads/HTML/stacktree.html Stack tree]


Wikimedia Foundation. 2010.

Игры ⚽ Нужен реферат?

Look at other dictionaries:

  • Stack search — (also known as Stack decoding algorithm) is a search algorithm similar to beam search. It can be used to explore tree structured search spaces and is often employed in Natural language processing applications, such as parsing of natural languages …   Wikipedia

  • Tree traversal — Graph and tree search algorithms Alpha beta pruning A* B* Beam Bellman–Ford algorithm Best first Bidirectional …   Wikipedia

  • stack — 01. There is a [stack] of newspapers in the hall that need to be recycled. 02. I have [stacks] of homework assignments to mark this weekend. 03. The American Olympic basketball team is [stacked] with professional players from the NBA. 04. The cat …   Grammatical examples in English

  • Tree (data structure) — A simple unordered tree; in this diagram, the node labeled 7 has two children, labeled 2 and 6, and one parent, labeled 2. The root node, at the top, has no parent. In computer science, a tree is a widely used data structure that emulates a… …   Wikipedia

  • Spaghetti stack — A spaghetti stack (also called a cactus stack or saguaro stack) in computer science is an N ary tree data structure in which child nodes have pointers to the parent nodes (but not vice versa). When a list of nodes is traversed from a leaf node to …   Wikipedia

  • Threaded binary tree — A threaded binary tree may be defined as follows:A binary tree is threaded by making all right child pointers that would normally be null point to the inorder successor of the node, and all left child pointers that would normally be null point to …   Wikipedia

  • Nested stack automaton — In automata theory, a nested stack automaton is a finite automaton that can make use of a stack containing data which can be additional stacks.[1] A nested stack automaton may read its stack, in addition to pushing or popping it. A nested stack… …   Wikipedia

  • Chad's Tree — Origin Perth, Western Australia, Australia Genres Rock Years active 1983 1989 Labels Hot Records Nude Re …   Wikipedia

  • AA tree — In computer science, AA trees (Arne Andersson trees) are a form of balanced trees used for storing and retrieving ordereddata efficiently.Unlike red black trees, red nodes on an AA tree can only be added as a right subchild. In other words, no… …   Wikipedia

  • Scapegoat tree — In computer science, a scapegoat tree is a self balancing binary search tree, invented by Igal Galperin and Ronald L. Rivest. It provides worst case O(log n ) lookup time, and O(log n ) amortized insertion and deletion time.Unlike other self… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”