Question
In Merge Sort, what is the maximum number of comparisons required to merge two already-sorted subarrays of sizes 4 and 3 into a single sorted array of size 7?
More Data Structure Questions
- A stack is implemented by a singly linked list with a head pointer. Which pair of operations is O(1) per operation?
- Which data structure uses FIFO (First In, First Out)?
- What is the maximum number of edges possible in a simple undirected graph (no self-loops, no parallel edges) containing 7 vertices?
- Binary search on a sorted array of n distinct elements has what worst-case asymptotic comparison complexity?
- In system design, what is the primary purpose of a feasibility study?
- A hash table of size 7 uses h(k) = k mod 7 with linear probing. The keys 15, 22, 29, 8 and 36 are inserted in this order. In which slot does key 36 get sto...
- In Java, what will be the output of the following code snippet? public class Test { public static void main(String[] args) { int x = 5; ...
- In web development and data exchange, what is the fundamental structure used to represent a collection of key-value pairs in a JSON object?
- A min-heap contains n distinct elements. An arbitrary element at a known index is decreased in value. What is the worst-case time to restore the heap prope...
- Consider a code flow where a large dataset is stored in an array. If frequent insertions and deletions are required at arbitrary positions within the array...
Hey! Ask a query
Please enter email id
The email must be a valid email address.
Please enter Mobile Number
Please enter valid Mobile Number
Please enter your Doubt
Think You're Ready for RBI Grade B?
RBI Grade B 2026 Phase 1 Memory Based Paper
- 200 Questions with Detailed Solutions
- Section-wise Coverage (GA, English, Quant & Reasoning)