Choose a topic to test your knowledge and improve your Data structure skills
Which data structure allows deleting data elements from front and inserting at the rear?
Identify the data structure which allows deletions at both ends of the list but insertion at only one ending.
Which of the following data structure is non-linear type?
Which of the following data structure is a linear type?
To represent the hierarchical relationship between elements, which data structure is suitable?
The depth of a complete binary tree is given by
When representing an algebraic expression E which uses only binary operations in a 2-tree,
A binary tree can easily be converted into q 2-tree
A binary tree can easily be converted into q 2-tree
When converting a binary tree into an extended binary tree, all the original nodes in the binary tree are
The post-order traversal of a binary tree is DEBFCA. Find out the pre-order traversal
Which of the following sorting algorithm is of divide-and-conquer type?
An algorithm that calls itself directly or indirectly is known as
In a binary tree, certain null entries are replaced by special pointers which point to nodes higher in the tree for efficiency. These special pointers are called
The in order traversal of the tree will yield a sorted listing of elements of tree in
In a Heap tree
In a graph, if e=[u, v], Then u and v are called
A connected graph T without any cycles is called
In a graph, if e=(u, v) means
. If every node u in G is adjacent to every other node v in G, A graph is said to be
Two main measures for the efficiency of an algorithm are
The time factor when determining the efficiency of the algorithm is measured by
The space factor when determining the efficiency of the algorithm is measured by
The space factor when determining the efficiency of the algorithm is measured by
Which of the following case does not exist in complexity theory
The Worst case occur in the linear search algorithm when
The Average case occur in the linear search algorithm
The complexity of the average case of an algorithm is
The complexity of the linear search algorithm is
The complexity of Binary search algorithm is
The complexity of Bubble sort algorithm is
In a Stack, the command to access an nth element from the top of the stack s will be
If yyy, xxx and zzz are the elements of a lexically ordered binary tree, then in pre-order traversal which node will be traverse first
In a balanced binary tree, the height of two subtrees of every node can not differ by more than
The result of eval u at ing prefix expression */b+-dacd, where a = 3, b = 6, c = 1, d = 5 is
In an array rep re sensation of the binary tree, the right child of the root will be at the location of
The total number of comparisons in a bubble sort is
The dummy header in the linked list contains
Write the output of the fol low ing program: int a[] = {1,2,3}*P;
If the out-degree of every node is exactly equal to M or 0 and the number of nodes at level K is Mk-1 [con sider root at level 1], the tree is called as(i) Full m-ary try (ii) Complete m-ary tree (iii)Positional m-ary tree