Recent questions tagged data-structures

0 votes
1 answer
1
how many spanning trees are possible for complete graph of 4 vertices
0 votes
1 answer
2
How can we find the highest element in a singly linked list in O(1)? We are free to use any extra space.
0 votes
2 answers
6
Consider a binary min-heap containing $105$ distinct elements. Let $k$ be the index (in the underlying array) of the maximum element stored in the heap. The number of pos...
2 votes
2 answers
10
0 votes
0 answers
13
0 votes
1 answer
26
From a character string of lenth $m$, the number of sub-strings of all lengths that can be formed are:$m^2$$m$$m(m+1)/2$$m(\log m)$
1 votes
3 answers
27
In a priority queue, insertion and deletion can be done atFrontbackMiddleAny position