Professional Documents
Culture Documents
Cap770 For Viva
Cap770 For Viva
Cap770 For Viva
branch in tree data structure: branch node as an inner node, is any node of a
tree that has child nodes. Similarly, an external node (also known as an outer node, leaf
node
non linear data structure: It is a form of data structure where the data elements
don't stay arranged linearly or sequentially.
traversing in bst data structure: Tree traversal is the process of visiting each
node in the tree exactly once.
path in given tree data structure: Path refers to the sequence of nodes along
the edges of a tree
level of tree in data structure: level is 0 when we start to count level each step
from top to bottom level of a tree with 0 and increments by 1 at each level.
find left child formula: if a node is stored an index k, then its left child is stored
at index 2k + 1 and its right child at index 2k + 2.
deletion in binary search tree: used to delete the specified node from a binary
search tree.
height of binary tree the maximum height will be N/2 Formula of count height
log2(N)+1.
What is complete binary tree: Complete Binary Tree if all the levels are
completely filled except possibly the last level and the last level has all keys as left
What is Search trees: earch tree is a binary tree data structure in whose nodes data
values are stored from some ordered set.
What is searching: the process of finding the required information from a collection of
items stored as elements in the computer memory
What is AVL tree AVL tree is a self-balancing Binary Search Tree (BST) where the
difference between heights of left and right subtrees cannot be more than one for all nodes.
A red-black tree is a Binary tree where a particular node has color as an extra
attribute, either red or black
What is splay trees Splay Tree is a self - adjusted Binary Search Tree in
which every operation on element rearranges the tree so that the element
is placed at the root position of the tree.
What is heap: : A heap is a specialized tree-based data structure that satisfied
the heap property:
Min-Heap − Where the value of the root node is less than or equal to either of
its children. Max-Heap − Where the value of the root node is greater than or equal
to either of its children
Heap sort is a comparison-based sorting technique based on Binary Heap data
structure