Professional Documents
Culture Documents
Binary search tree is arranged BT where left subtree of root node has values
less than the root node, and right has values more than root node
Complete binary tree is where each node has 2 subnodes except possibly the
leaf nodes which are left oriented.
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. The height of an AVL tree is always O(Logn) where n is the number of
nodes in the tree.
De morgan’s theorem
Ex-OR gate
A ex or B is AB’ + A’B
Class A – 0 to 127
Class B – 128 to 191
Class C – 192 to 223
Class D – 224 to 239 (multicast)
Class E – 240 to 255 (Reserved)
Any address starting with 127 is loopback address ( for testing network cards)
Baud rate is symbols per second.
B-tree is a self balancing search tree , The main idea of using B-Trees is to
reduce the number of disk accesses.
Since the height of the B-tree is low so total disk accesses for most of the
operations are reduced significantly compared to balanced Binary Search
Trees like AVL Tree, Red-Black Tree, ..etc.
M keys, Ceil(m/2) children in a m way b tree , root can have min 2 children, all leaf at
same level, creation process is bottom up
B+ tree
Hamilonian Circuit – A simple circuit in a graph that passes through every
vertex exactly once is called a Hamiltonian circuit.
So the sum of the degrees of all the vertexes is twice the number of edges.
The Master Boot Record (MBR) is the information in the first sector of any hard disk
or diskette that identifies how and where an operating system is located so that it can
be boot (loaded) into the computer's main storage or random access memory.
Exponential distribution
rate = α > 0
Normal distribution
Uniform distribution
Mean = (b-a)/2
Var=
Mean = var =