Recent questions tagged data-structures

1 votes
1 answer
391
1 votes
2 answers
393
Question The time required to find the 99th smallest element from a min heap of n elements is (given that we have access to the array elements)
0 votes
1 answer
394
1. Suppose there is a B-tree, such that internal node with order 86 and leaf node with order 103.2. A B+ tree with internal order is 171 and leaf node with order 103.In b...
0 votes
2 answers
395
Which of the following arrays do not represent a min heap. A. 1, 2, 4, 8, 12, 6, 7, 10, 11 7, 10, 12, 11, 17, 19, 2 25, 27, 28, 30, 32, 34, 27 90, 95, 100, 11...
4 votes
1 answer
397
The number of insertion sequences of the numbers {1,2,3,4,5,6,7} which would lead to the following BSTHow to tackle this kind of problem. Anyone!
1 votes
1 answer
398
Suppose there are $11$ nodes in a binary tree. Find the number of unlabeled binary trees if the number of nodes either in the left sub tree or in the right sub tree is di...
0 votes
1 answer
399
0 votes
1 answer
400
0 votes
0 answers
402
Given AVL tree is originally balanced. If a node is added to T1 so that height T1 becomes h+1 from h and z is the first node which is now imbalanced, Then find the height...
1 votes
0 answers
403
If a hash table is implemented asa search tree, the expected time required to enter n names and make m searches is proportional to: (n + m) $log_{2} n$(n + m) $log_{2} m$...
0 votes
1 answer
404
Total number of nodes at the nth level of a full binary tree can be given as___________. 2n + 1$2n^{2}$2^n2n – 1
0 votes
1 answer
405
2 votes
1 answer
407
#include <stdio.h>int main(){ static int i = 6; if( i) { main(); printf("%d", i+1); } return 0;}Please explain the output of this program ?
0 votes
1 answer
408
Q.which of the following data structure cannot be used for efficient implementation of Huffman encoding? a. Binary min heapb. Binary max heapc. AVL tree (height balanced ...
0 votes
1 answer
409
Q.which of the following data structure cannot be used for efficient implementation of Priority Queue?a. Binary heapb. Height balanced binary tree.c. Sorted array
1 votes
1 answer
410
What is the smallest and largest number of entries for 2_3 BTree (B2_3 Tree) of height 8 (i.e 8 levels) ? 255 & 6560127 & 21866561 & 255255 & 2186
2 votes
1 answer
412
Number different of binary search trees which can be created with the elements {12, 34, 22, 43, 13, 45, 55, 94, 99, 23} with 45 as the root is___.
2 votes
1 answer
413
The time required to determine the minimum element from the max heap of size O(log(n)) is given by
1 votes
1 answer
414
Worst case time required to construct a balanced BST given a sorted array of integers which can be inserted in any order
0 votes
2 answers
415
How to use substitution method
1 votes
2 answers
416
How many min heap possible with 6 distinct node?
0 votes
2 answers
417
The number of ways in which the numbers $1,2,3,4,5,6,7$ can be inserted in an empty binary search tree, such that the resulting tree has height $5$, is _________.Note: Th...