Hot questions in Programming and DS

0 votes
0 answers
2941
1 votes
1 answer
2942
How D) could be answer here?I think for head->next=temp; will not work properly. Am I doing any mistake?
2 votes
1 answer
2944
25 votes
3 answers
2945
What is the number of binary trees with $3$ nodes which when traversed in post-order give the sequence $A, B, C ?$ Draw all these binary trees.
0 votes
1 answer
2946
1 votes
0 answers
2948
Can anyone please explain ?? What does R+1,L+1 or R+1,L-1 means ??
2 votes
0 answers
2949
0 votes
1 answer
2950
A hash function $f$ defined as $f (key) = key \mod 13$, with linear probing is used to insert keys 55, 58, 68, 91, 27, 145. What will be the location of 79?1234
0 votes
0 answers
2951
char c = 'Z'; char a[] = "Hello world"; char *ptr1 = &c; char *ptr2 = a; char *ptr3 = &a[0]; char *ptr4 = &a[6]; char *ptr5 = a + 6;Can someone explain this...
0 votes
3 answers
2952
How many elements a simple queue and a circular queue both of size N can accommodates ?( A ) N and N respectively.( B ) N-1 and N-1 respectively.( C ) N and N-1 respec...
1 votes
0 answers
2954
Can anyone show stepwise procedure for insertion of nodes 3,2,1,4,5,6,7,16,15,14 (in this order) in AVL tree.
0 votes
0 answers
2958
The minimum comparisons required to find minimum and maximum in an array of 100 elements is
0 votes
1 answer
2959
Which of the following table implementation is based on the property of the locality of reference ?Hash tableSearch tableLinear listSelf organizing list
1 votes
1 answer
2960
Consider a binary tree T that has 100 leaf nodes. Then the number of INTERNAL nodes in T that have exactly two children are ______.