265 views
0 votes
0 votes
Which of the following statement are true?

1. Computing the most frequently  occurring elements in an array a(1....n) can be done in o(nlogn) time.

Please log in or register to answer this question.

Related questions

330
views
1 answers
0 votes
deepak_8404 asked Oct 1, 2023
330 views
Consider a lower triangular matrix stored in row major order as p[-25 - - + 749][-25 - - - + 749] with base address = 6800, size of each element = 6 byte. Find the value at location p[658][596]?
481
views
1 answers
0 votes
Souvik33 asked Jan 29, 2023
481 views
Consider the following C code snippets, labeled as P1, P2 and P3, the output of P1 is X , of P2 is Y and of P3 as Z . What is the value of X+Y+Z P1#include <stdio.h> ... n-1,r)+(2*r); } int main() { printf("%d",f(6,40)); return 0; }
701
views
2 answers
–4 votes
Souvik33 asked Oct 27, 2022
701 views
*MSQ*The following figure depicts a a. A tree and only treeb. A tree with 3 nodesc. A graph (Since every tree is a graph)d. A graph and only graph
472
views
1 answers
0 votes
Overflow04 asked Sep 28, 2022
472 views
Can we determine unique tree by Inorder and level order traversal .