Most viewed questions in Programming and DS

1 votes
0 answers
1741
Consider X[1...n] and Y[1...n] be two arrays, each containing n numbers both of which already sorted. What is the time complexity to find the median by combining two arra...
2 votes
2 answers
1743
2 votes
2 answers
1747
Match the following with respect to the programming language $:$$\begin{array}{} & \textbf{List – I} && \textbf{List – II} \\ \text{a.} & \text{Structured language} &...
1 votes
1 answer
1750
#include<stdio.h>int main(){int a = 10, b = 20, c = 30, d = 40;printf("%d%d%d",a, b, c);printf("%d%d%d", d);return 0;}What is the Output and when I run it I am getting so...
2 votes
1 answer
1751
FIve nodes labelled 1,2,3,4,5 are used to construct different binary trees. How many such binary trees can be constructed whose preorder traversal is 1,2,3,4,5 ?
1 votes
1 answer
1752
Consider a three dimensional array A[30][40][50], find the location of the array element A[5][6][7] , if the base address of array A is 150 and each element take 4 byte...
0 votes
2 answers
1754
2 votes
1 answer
1756
How many Binary Max-Heaps can be constructed from the elements {1,1,2,2,3,3,4,4} ?
3 votes
1 answer
1759
1 votes
1 answer
1760
In a circular linked list last node points to the :$Head$$Tail$$First Node$