Recent questions in Programming and DS

2 votes
2 answers
1892
To remove recursion from a program we have to use which of the following data structure?arraystackqueuelist
0 votes
1 answer
1893
Assume that there are two lower triangular matrices $A$ and $B$ of size $n*n$. If matrix $A$ and transpose of $B$ are fit into a rectangular matrix $C$ of size $n*(n+1)$,...
1 votes
2 answers
1896
2 votes
1 answer
1897
WHICH OF THE FOLLOWING IS THE BEST CHOICE AS $m$ IN THE HASH FUNCTION $h(k)=k \mod m$??$61$$701$$81$answer is given as $701$ but how??
1 votes
3 answers
1898
How many element comparisons would heap sort use to sort the integers $1$ to $8$ if they wereinitially in sorted order, initially in reverse sorted order?
0 votes
0 answers
1899
What is the recurrence relation / math expression for the number of binary min heaps possible with "n" elements on which "k" elements are repeated "t" times where t=2 to ...
0 votes
1 answer
1900
0 votes
2 answers
1901
How far is Defining a function and macro related with each other?
2 votes
1 answer
1902
Which data structure is most efficient to find the top 10 largest items out of 1 million items stored in file?AMin heapBMax heapCBSTDSorted array
0 votes
1 answer
1904
What is meaning of Underline Text??
0 votes
1 answer
1905
I think ans is C(index start with 0)
0 votes
1 answer
1906
What is meaning of underline ??
0 votes
1 answer
1907
The value of the postfix expression 10,8,4,+,-,5,12,3,/,+,4,+,* is_________________.i think ans is -26. correct me if i wrong.but given ans is +26 .
0 votes
1 answer
1908
Array declared by Const can change??please tell me why Option C is wrong..
0 votes
2 answers
1909
how we can identify the segmentation fault??
0 votes
1 answer
1910
#include <stdio.h int make_it(int *x,int *y, int *z){ *x *= *y+*z; *y=*x<<1; *z=*x+*y; } int main(void) { int a=5, b=10; printf("%d%d",a,b); make_it(&b,&a,&(a+b)); printf...