Recent questions tagged data-structures

9 votes
3 answers
1141
Choose the equivalent prefix form of the following expression(a+(b-c))*((d-e)/(f+g-h))*+a-bc/-de-+fgh*+a-bc-/de-+fgh*+a-bc/-ed-+fgh*+ab-c/-de-+fgh
6 votes
1 answer
1142
The best data structure to check whether an arithmetic expression has balanced parenthesis is a:QueueStackTreeList
8 votes
3 answers
1143
If the post order traversal gives ab -cd * + then the label of the nodes 1,2,3.. will be+ , -, *, a,b,c,da, -,b,+,c,*,da,b,c,d,-,*,+-,a,b,+,*,c,d
6 votes
2 answers
1144
Given two statementsInsertion of an element should be done at the last node of the circular listDeletion of an element should be done at the last node of the circular lis...
4 votes
4 answers
1145
In a doubly linked list the number of pointers affected for an insertion operation will be401Depends on the nodes of doubly linked list
0 votes
2 answers
1146
strcpy() char* strcpy(char*s,char*t) { *s=malloc(strlen(source)+1); while((*s=*t)!='\o') { s++; t++; } return s; }Please someone tell, that line *s=malloc(strlen(source)+...
0 votes
1 answer
1148
Link to the question - https://gateoverflow.in/20611/tifr2011-b-30Someone please simplify that question and explain.
0 votes
1 answer
1151
i want to read Tanenbaum Datastructure book. Can anyone tell me the source of pdf Tanenbaum Datastructure book ?
0 votes
1 answer
1154
what is difference between avl tree and red black tree?
0 votes
1 answer
1155
why do we need preorder, postorder and inorder sequence/graph traversal?
3 votes
3 answers
1157
What is the difference between height and levels for a tree. What will be the value of height and level for root node and why?
0 votes
2 answers
1158
which is correct option? does answer depends on the definition of levels?
2 votes
0 answers
1160
what is the expected number of probs required when inserting an element into an open address hash table with load factor alpha(a), assume uniform hashing??
1 votes
0 answers
1162
can someone pls explain how is the internal path length of complete binary tree is O(n logn)? (if it is correct)
0 votes
0 answers
1163
0 votes
2 answers
1165
In what order the elements of a pushdown stack are accessed?a. First In-First Out (FIFO)b. Last In Last Out (LILO)c. Last In First Out (LIFO)d. None of the above
38 votes
7 answers
1168
Let $T$ be a tree with $10$ vertices. The sum of the degrees of all the vertices in $T$ is ________
33 votes
10 answers
1169