Ds Ka Material
Ds Ka Material
Parameters LDS
Graph is a collection of set of vertices V where the actual data is Relation- every item is related to its previous and next item.
stored and set of edges E which connects those vertices Arrangement - Data is arranged in linear sequence.
possible to easily find its in order successor (and/or predecessor). A Relation- every item is attached with many other items.
binary tree is threaded by making all right child pointers that would Arrangement- data is not arranged in linear sequence.
normally be null point to the inorder successors of the node (if it Traversing- data item cannot be traversed In a single run.
exists) and all the left child pointers that would normally be null point Implementation- implementation is difficult
to the inorder predecessor of the node. It is also possible to discover ESam- tree ,graph
the parent of a node from a threaded binary tree without explicit use
limited, or where a stack of parent pointers is unavailable.. Single Operation on Data structure
threaded and double threaded,,,,,, Insertion- insertion refers to addition of new data element in data
structure
Avl or height balanced tree is considered as a self balanced binary Searching- searching refers to finding the specified data element in a
search tree. The meaning is that an avl tree is also a binary search data structure..
tree but it is a balanced tree. A binary tree is considered as a Traversal- traversal of a data structure means visiting every element
Balanced, When the difference between the height of left and right of the data structure at least once.
sub trees of every node in the tree is in the range of -1, 0 or +1. In Sorting- arranging data elements of a data structure Ina standard
other words, we can say that a binary tree is set to be a balance if for predetermined sequence is called sorting.
every node,height of its children differ by at most one.. In an avl tree, Merging- combining elements of more than one data structure in third
every node maintains an extra information called as balance factor. data structure is called as merging..
Huffman coding
characters. The most frequent character gets the smaller code and the
codes are assigned in such a way that the code assigned to one
A binary search tree is which the data of all the nodes in the left sub
tree of the root node is less than the data of the root and the data of
all the nodes in the right sub tree of the root node is more than the
data of the root, is called binary,,,,, two types,,,,, left sub tree
(contains only smaller values),,, right sub tree (contains only larger
values)…