Highest voted questions in Programming and DS

48 votes
4 answers
91
45 votes
6 answers
98
Let $G$ be the graph with $100$ vertices numbered $1$ to $100$. Two vertices $i$ and $j$ are adjacent if $\vert i-j \vert =8$ or $\vert i-j \vert=12$. The number of con...
44 votes
9 answers
102
Compute the post fix equivalent of the following expression $3^*\log(x+1)-\frac{a}{2}$
44 votes
5 answers
106
The concatenation of two lists is to be performed on $O(1)$ time. Which of the following implementations of a list should be used?Singly linked listDoubly linked listCirc...
44 votes
5 answers
107
In a binary max heap containing $n$ numbers, the smallest element can be found in time $O(n)$ $O(\log n)$ $O(\log \log n)$ $O(1)$
44 votes
2 answers
108