Recent questions in Programming and DS

14 votes
3 answers
151
Which one of the following sequences when stored in an array at locations $A , \ldots, A[10]$ forms a max-heap?$23,17,10,6,13,14,1,5,7,12$$23,17,14,7,13,10,1,5,6,12$$23,1...
18 votes
4 answers
153
1 votes
1 answer
158
#include <stdio.h int main() {int i,j,x;scanf("%d ",x);i=1;j=1;while(i<10){j=j*i;i=i+1;if(i==x) break;}return 0;}
0 votes
1 answer
159
is it ok to mark both and at least option in the case of MSQ, on my view in this question first option will always be true so marking the second is correct?
3 votes
1 answer
160
0 votes
1 answer
161
how many topological sort possible for above graph?directions like this question https://gateoverflow.in/39669/gate-cse-2016-set-1-question-11
0 votes
1 answer
167
0 votes
0 answers
168
can anyone help me how to approach these type of questions..? And also please attach link of similar questions if possible .thanks in advance
0 votes
2 answers
169
How many number of add and remove operations are required to access 26th element of a queue of 50 elements,so that the original queue remains the same after the access is...