Recent questions tagged data-structures

0 votes
0 answers
1
Consider an integer upper triangular 2D array arr[–8 to +7][–8 to +7] having base address 1000. If the size of the integer is 4 bytes, the address of the element pres...
0 votes
1 answer
2
0 votes
1 answer
3
how many spanning trees are possible for complete graph of 4 vertices
0 votes
1 answer
4
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
8
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
12
0 votes
0 answers
15