There are n unsorted arrays: A1 ,A2 ,...,An . Assume that n is odd. Each of A1 ,A2 ,...,An contains n distinct elements. There are no common elements between any two arrays. The worst-case Asymptotic Notation of computing the median of the medians of A1 ,A2 ,...,An is ________ .
Asked in GPSC Assistant Director (IT), Class-1 2025
Answer under review: our editors are checking this question. Try the other GPSC Prelims previous year questions questions meanwhile.
More GPSC Prelims previous year questions questions
- The master theorem
- The recurrence relation capturing the optimal execution time of the Towers of Hanoi problem with n discs is
- Match the following: (P) Prim's algorithm for minimum spanning tree (i) Backtracking (Q) Floyd-Warshall algorithm for all pairs shortest paths (ii) Greedy method (R) Mergesort (iii) Dynamic programming (S) Hamiltonian circuit (iv) Divide and conquer
- If n is a power of 2, then the minimum number of multiplications needed to compute an is
- Which of the following algorithms solves the all pair shortest path problem?
- Consider the string abbccddeee. Each letter in the string must be assigned a binary code satisfying the following properties: For any two letters, the code assigned to one letter must not be a prefix of the code assigned to the other letter. For any two letters of the same frequency, the letter which occurs earlier in the dictionary order is assigned a code whose length is at most the length of the code assigned to the other letter. Among the set of all binary code assignments which satisfy the above two properties, what is the minimum length of the encoded string?
- Let R(a,b,c) and S(d,e,f) be two relations in which d is the foreign key of S that refers to the primary key of R. Consider the following four operations R and S. I. Insert into R II. Insert into S III. Delete from R IV. Delete from S Which of the above can cause violation of the referential integrity constraint?
- A locked database file can be