Question
A hash table of size 7 uses the hash function h(k) = k mod 7, resolving collisions using linear probing. Keys are inserted in this order: 18, 25, 3, 10, 45. At which index will the key 45 finally be placed?
More Data Structure Questions
- Which application is a classic use case for the "Stack" data structure due to its Last-In-First-Out (LIFO) behaviour?
- What is the worst-case time to decrease a key in a binary min-heap?
- In a data warehouse, which of the following best describes the concept of "data granularity"?
- In the classic Tower of Hanoi puzzle, what is the minimum number of moves required to transfer a stack of 5 disks from one peg to another, following all th...
- Which of the following statements accurately describes the function of a Gantt Chart in project management?
- Which of the following integrity constraints ensures that every non-null foreign key value must reference an existing primary key value in another table?
- 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...
- What is the worst-case time complexity of searching for an element in a balanced Binary Search Tree containing n nodes?
- In an unweighted graph with edges A-B, A-C, B-D, B-E, C-F, and D-G, how many nodes are at a shortest-path distance of exactly 2 from node A (as found via B...
- A hash table uses open addressing with linear probing. Which deletion method preserves successful searches without requiring rehashing the entire table?
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)