Recent questions tagged data-structures

2 votes
1 answer
1321
0 votes
2 answers
1322
18 votes
3 answers
1323
Construct a binary tree whose preorder traversal is$K\;L\;N\;M\;P\;R\;Q\;S\;T$and inorder traversal is$N\;L\;K\;P\;R\;M\;S\;Q\;T$
1 votes
1 answer
1326
0 votes
1 answer
1328
1 votes
0 answers
1329
Conver the following infix to Postfix and Prefix $log ( 3 ! )^ {log4} *log log ((6/7)*4+x)!$$ sin 2x cos (3x+4) $ Please use stack method to solve . Diagram would be app...
0 votes
1 answer
1331
Consider a Hash table containing ‘n’ keys and ‘k’ slots. Each key will hash into a slot in the given Hash table. (Assume collisions are resolved by chaining).1)Wh...
19 votes
3 answers
1332
State whether the following statements are TRUE or FALSE:If the number of leaves in a tree is not a power of $2,$ then the tree is not a binary tree.
31 votes
5 answers
1333
State whether the following statements are TRUE or FALSE:It is possible to construct a binary tree uniquely whose pre-order and post-order traversals are given?
23 votes
3 answers
1334
In a circular linked list organization, insertion of a record involves modification ofOne pointer.Two pointers.Multiple pointers.No pointer.
1 votes
1 answer
1335
0 votes
0 answers
1336
1 votes
1 answer
1337
0 votes
0 answers
1338
2 votes
1 answer
1340
The height of a binary tree having $ \text{i’}$ nodes at level $ \text{i’}$ considering root to be at level $1$ is __________, where $ n\text{’}$ is the total no. o...
4 votes
2 answers
1341
2 votes
1 answer
1344
2 votes
1 answer
1345
what is the time complexity in creating a BInary search tree from an unsorted array??
0 votes
1 answer
1346
A one dimensional array A has indices 1...75.Each element is a string and takes three memory words .The array is stored at location 1120 decimal .The starting address of ...
4 votes
1 answer
1347
2 votes
2 answers
1349
What would be an appropraite data structure to represent family hierarchy where each node is an individual and there in no requirement to keep "married to" relationship?B...
0 votes
3 answers
1350
Consider a complete graph of 10 vertices. The minimum no. of edge removals required to make the graph disconnected is ______