Most answered questions in Programming and DS

64 votes
7 answers
81
53 votes
7 answers
82
54 votes
7 answers
83
A binary search tree is used to locate the number $43$. Which of the following probe sequences are possible and which are not? Explain.$\begin{array}{llllll} \text{(a)} ...
49 votes
7 answers
84
The postfix expression for the infix expression $A+B*(C+D)/F+D*E$ is:$AB + CD + *F/D +E*$$ABCD + *F/DE* ++$$A * B + CD/F *DE ++$$A + *BCD/F* DE ++$
22 votes
7 answers
88
What is the minimum number of stacks of size $n$ required to implement a queue of size $n$?OneTwoThreeFour
2 votes
6 answers
91
28 votes
6 answers
93
Consider the array representation of a binary min-heap containing $1023$ elements. The minimum number of comparisons required to find the maximum in the heap is _________...
5 votes
6 answers
96
What is the output of tho following program?main(){ int x=2, y=5; if(x<y) return (x=x+y); else printf("z1"); printf("z2"); }$z2$$z1z2$Compilation errorNone of these
2 votes
6 answers
98
what is the o/p #include<stdio.h void main() { int a=5; printf("%d %d %d",a++,++a, a); }also suggest me notes so i can clear my concept about printf function (For Gate)
5 votes
6 answers
100