Login
Register
Dark Mode
Brightness
Ambient Glow – Questions list
Register
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged hashing
3
3 votes
1
1 answer
166
166 views
GO Classes DPP | GATE CS, DA | Algorithms | Hashing
An initially empty hash table $\text{HT}$ has length $11$.The hash function is:$H(key)=key \bmod 7$Collisions are resolved using linear probing.The following keys are ins...
GO Classes
166
views
asked
Aug 31
Algorithms
goclasses
goclasses-da-dpp
goclasses-da-dpp-day-262
goclasses-cs-dpp
goclasses-cs-dpp-day-360
algorithms
python-&-dsa
goclasses-python-&-dsa-practice-questions
goclasses-algo-practice-questions
hashing
+
–
1
1 vote
1
1 answer
172
172 views
GO Classes DPP | GATE CS, DA | Algorithms | Dijkstra's Algorithm
Let $G$ be a directed graph with nonnegative edge weights.Run Dijkstra's algorithm from source $s$. After the algorithm terminates, use the $\text{prev}$ pointers to cons...
GO Classes
172
views
asked
Aug 26
Algorithms
goclasses
goclasses-da-dpp
goclasses-da-dpp-day-259
goclasses-cs-dpp
goclasses-cs-dpp-day-357
algorithms
python-&-dsa
goclasses-python-&-dsa-practice-questions
goclasses-algo-practice-questions
hashing
dijkstras-algorithm
+
–
0
0 votes
1
1 answer
128
128 views
GO Classes DPP | GATE CS, DA | Algorithms | Linear Probing
A linear-probing hash table of length $10$ uses:$h(k) = k \bmod 10$After inserting eight keys into an initially empty table, the table is:$$\begin{array}{|c|c|c|c|c|c|c|c...
GO Classes
128
views
asked
Aug 26
Algorithms
goclasses
goclasses-da-dpp
goclasses-da-dpp-day-259
goclasses-cs-dpp
goclasses-cs-dpp-day-357
algorithms
python-&-dsa
goclasses-python-&-dsa-practice-questions
goclasses-algo-practice-questions
hashing
linear-probing
multiple-selects
+
–
0
0 votes
1
1 answer
136
136 views
GO Classes DPP | GATE CS, DA | Algorithms | Hash Collision Handling
When hashing is used for table addressing, a collision-resolution method is generally required.Why?Collision handling is required only when the table is completely full. ...
GO Classes
136
views
asked
Aug 25
Algorithms
goclasses
goclasses-da-dpp
goclasses-da-dpp-day-258
goclasses-cs-dpp
goclasses-cs-dpp-day-356
algorithms
python-&-dsa
goclasses-python-&-dsa-practice-questions
goclasses-algo-practice-questions
hashing
collision
+
–
6
6 votes
1
1 answer
350
350 views
GO Classes DPP | GATE CS, DA | Data Structure | Collision-Free Hash Parameter
For the keys:$47, 61, 36, 52, 56, 33, 92$consider the hash function:$h(k) = ((10k + 4) \bmod c) \bmod 7$Find the smallest positive integer $c$ such that no collisions occ...
GO Classes
350
views
asked
Jul 28
Data Structures
goclasses
goclasses-da-dpp
goclasses-da-dpp-day-235
goclasses-cs-dpp
goclasses-cs-dpp-day-333
data-structures
python-&-dsa
goclasses-python-&-dsa-practice-questions
goclasses-ds-practice-questions
hashing
numerical-answers
+
–
5
5 votes
1
1 answer
236
236 views
GO Classes DPP | GATE CS, DA | Data Structure | Hash Table
Which of the following statements are true?$\text{S1}$. The worst-case complexity of checking whether an object is present in a hash set is $O(1)$.$\text{S2}$. The worst-...
GO Classes
236
views
asked
Jul 28
Data Structures
goclasses
goclasses-da-dpp
goclasses-da-dpp-day-235
goclasses-cs-dpp
goclasses-cs-dpp-day-333
data-structures
python-&-dsa
goclasses-python-&-dsa-practice-questions
goclasses-ds-practice-questions
hashing
+
–
7
7 votes
1
1 answer
248
248 views
GO Classes DPP | GATE CS, DA | Data Structure | Hashing with Chaining
Insert the keys$47, 61, 36, 52, 56, 33, 92$in order into a hash table of size $7$ using:$h(k) = (10k + 4) \bmod 7$Each slot stores a linked list, and later insertions are...
GO Classes
248
views
asked
Jul 27
Data Structures
goclasses
goclasses-da-dpp
goclasses-da-dpp-day-234
goclasses-cs-dpp
goclasses-cs-dpp-day-332
data-structures
python-&-dsa
goclasses-python-&-dsa-practice-questions
goclasses-ds-practice-questions
hashing
chaining
+
–
5
5 votes
2
2 answers
274
274 views
GO Classes DPP | GATE CS, DA | Data Structure | Hash Collision
A key consists of three uppercase English letters. The hash value $h$ of a key is calculated as:$h = (\text{sum of alphabetical positions of the three letters}) \bmod 27$...
GO Classes
274
views
asked
Jul 18
Data Structures
goclasses
goclasses-da-dpp
goclasses-da-dpp-day-228
goclasses-cs-dpp
goclasses-cs-dpp-day-326
data-structures
python-&-dsa
goclasses-python-&-dsa-practice-questions
goclasses-ds-practice-questions
hashing
collision
+
–
7
7 votes
3
3 answers
255
255 views
GO Classes DPP | GATE CS, DA | Data Structure | Hash Collision
A hash table has size $10$. Each key is a lowercase English alphabet character from $a$ to $z$.The hash value of a key is defined as the last digit of its decimal ASCII c...
GO Classes
255
views
asked
Jul 18
Data Structures
goclasses
goclasses-da-dpp
goclasses-da-dpp-day-228
goclasses-cs-dpp
goclasses-cs-dpp-day-326
data-structures
python-&-dsa
goclasses-python-&-dsa-practice-questions
goclasses-ds-practice-questions
hashing
collision
+
–
4
4 votes
3
3 answers
219
219 views
GO Classes DPP | GATE CS, DA | Data Structure | Search Length in Hashing
Which of the following factors affect the average search length in hashing?Load factor Hash function Collision resolution method Only I and II Only I and III Only II and ...
GO Classes
219
views
asked
Jul 18
Data Structures
goclasses
goclasses-da-dpp
goclasses-da-dpp-day-228
goclasses-cs-dpp
goclasses-cs-dpp-day-326
data-structures
python-&-dsa
goclasses-python-&-dsa-practice-questions
goclasses-ds-practice-questions
hashing
+
–
4
4 votes
2
2 answers
195
195 views
GO Classes DPP | GATE CS, DA | Data Structure | Linear Probing
A hash table of length $11$ is initially empty. The hash function is:$H(key) = key \bmod 7$Collisions are resolved using linear probing.The following keys are inserted in...
GO Classes
195
views
asked
Jul 18
Data Structures
goclasses
goclasses-da-dpp
goclasses-da-dpp-day-228
goclasses-cs-dpp
goclasses-cs-dpp-day-326
data-structures
python-&-dsa
goclasses-python-&-dsa-practice-questions
goclasses-ds-practice-questions
hashing
linear-probing
+
–
5
5 votes
3
3 answers
295
295 views
GO Classes DPP | GATE CS, DA | Data Structure | Quadratic Probing
A hash table of length $11$ is initially empty. The hash function is:$H(key) = (key \times 3) \bmod 11$Collisions are resolved using quadratic probing:$H_k = (H_0 + k^2) ...
GO Classes
295
views
asked
Jul 18
Data Structures
goclasses
goclasses-da-dpp
goclasses-da-dpp-day-228
goclasses-cs-dpp
goclasses-cs-dpp-day-326
data-structures
python-&-dsa
goclasses-python-&-dsa-practice-questions
goclasses-ds-practice-questions
hashing
quadratic-probing
+
–
3
3 votes
1
1 answer
208
208 views
GO Classes DPP | GATE CS, DA | Data Structure | Hash Collision
The following hexadecimal data items are inserted into a hash table in the given order:$\text{1A, ~35, ~3B, ~54, ~8E, ~A1, ~AF, ~B2, ~B3}$The hash value is computed usin...
GO Classes
208
views
asked
Jul 17
Data Structures
goclasses
goclasses-da-dpp
goclasses-da-dpp-day-227
goclasses-cs-dpp
goclasses-cs-dpp-day-325
data-structures
python-&-dsa
goclasses-python-&-dsa-practice-questions
goclasses-ds-practice-questions
hashing
collision
+
–
3
3 votes
1
1 answer
168
168 views
GO Classes DPP | GATE CS, DA | Data Structure | Hash Collision Handling
A hash table $\texttt{hashArray}$ has $5$ positions, indexed from $1$ to $5$. Initially,$\texttt{hashArray = \{-1, -1, -1, -1, -1\}}$The value $\texttt{-1}$ means that th...
GO Classes
168
views
asked
Jul 17
Data Structures
goclasses
goclasses-da-dpp
goclasses-da-dpp-day-227
goclasses-cs-dpp
goclasses-cs-dpp-day-325
data-structures
python-&-dsa
goclasses-python-&-dsa-practice-questions
goclasses-ds-practice-questions
hashing
+
–
4
4 votes
1
1 answer
159
159 views
GO Classes DPP | GATE CS, DA | Data Structure | Collision Resolution
Which of the following are open addressing approaches for resolving collisions in a hash table?Linear probing Quadratic probing Exponential hashing Separate chaining
GO Classes
159
views
asked
Jul 17
Data Structures
goclasses
goclasses-da-dpp
goclasses-da-dpp-day-227
goclasses-cs-dpp
goclasses-cs-dpp-day-325
data-structures
python-&-dsa
goclasses-python-&-dsa-practice-questions
goclasses-ds-practice-questions
hashing
multiple-selects
+
–
3
3 votes
1
1 answer
171
171 views
GO Classes DPP | GATE CS, DA | Data Structure | Deletion in Open Addressing
A hash table uses open addressing with linear probing. Suppose a key is deleted from the table.Why should we not simply replace the deleted key’s slot by $\text{NULL}$?Be...
GO Classes
171
views
asked
Jul 17
Data Structures
goclasses
goclasses-da-dpp
goclasses-da-dpp-day-227
goclasses-cs-dpp
goclasses-cs-dpp-day-325
data-structures
python-&-dsa
goclasses-python-&-dsa-practice-questions
goclasses-ds-practice-questions
hashing
+
–
3
3 votes
1
1 answer
166
166 views
GO Classes DPP | GATE CS, DA | Data Structure | Linear Probing
A hash table of size $5$ uses open addressing with linear probing.The probing function is:$H(k,i) = (k+i) \bmod 5$where $i$ is the collision count.Insert the keys in the ...
GO Classes
166
views
asked
Jul 17
Data Structures
goclasses
goclasses-da-dpp
goclasses-da-dpp-day-227
goclasses-cs-dpp
goclasses-cs-dpp-day-325
data-structures
python-&-dsa
goclasses-python-&-dsa-practice-questions
goclasses-ds-practice-questions
hashing
+
–
2
2 votes
1
1 answer
197
197 views
GO Classes DPP | GATE CS, DA | Data Structure | Hashing
Consider the following statements about hash tables.$\text{S1}:$ The worst-case complexity of checking whether an object is present in a hash set is $O(1)$.$\text{S2}:$ T...
GO Classes
197
views
asked
Jul 16
Data Structures
goclasses
goclasses-da-dpp
goclasses-da-dpp-day-226
goclasses-cs-dpp
goclasses-cs-dpp-day-324
data-structures
python-&-dsa
goclasses-python-&-dsa-practice-questions
goclasses-ds-practice-questions
hashing
+
–
2
2 votes
1
1 answer
186
186 views
GO Classes DPP | GATE CS, DA | Data Structure | Collision-Free Hash Parameter
For the keys : $\text{47, 61, 36, 52, 56, 33, 92}$Suppose the hash function is :$h(k) = ((10k + 4) \bmod c) \bmod 7$where $c$ is a positive integer.What is the smallest v...
GO Classes
186
views
asked
Jul 16
Data Structures
goclasses
goclasses-da-dpp
goclasses-da-dpp-day-226
goclasses-cs-dpp
goclasses-cs-dpp-day-324
data-structures
python-&-dsa
goclasses-python-&-dsa-practice-questions
goclasses-ds-practice-questions
hashing
numerical-answers
+
–
4
4 votes
2
2 answers
229
229 views
GO Classes DPP | GATE CS, DA | Data Structure | Hashing With Chaining
Insert the integer keys$47, 61, 36, 52, 56, 33, 92$in the given order into a hash table of size $7$.The hash function is:$h(k) = (10k + 4) \bmod 7$Collisions are resolved...
GO Classes
229
views
asked
Jul 16
Data Structures
goclasses
goclasses-da-dpp
goclasses-da-dpp-day-226
goclasses-cs-dpp
goclasses-cs-dpp-day-324
data-structures
python-&-dsa
goclasses-python-&-dsa-practice-questions
goclasses-ds-practice-questions
hashing
+
–
6
6 votes
6
6 answers
2.0k
2.0k views
GATE CSE 2026 | Set 2 | Question: 20
The keys $5,28,19,15,26,33,12,17,10$ are inserted into a hash table using the hash function $h(k)=k \bmod 9$. The collisions are resolved by chaining. After all the keys ...
gatecse
2.0k
views
asked
Feb 23
Algorithms
gatecse-2026-set2
algorithms
hashing
numerical-answers
one-mark
+
–
10
10 votes
2
answers
2 answers
1.7k
1.7k views
GATE CSE 2026 | Set 1 | Question: 14
Consider a hash table $P[0,1, \ldots, 10]$ that is initially empty. The hash table is maintained using open addressing with linear probing. The hash function used is $h(x...
gatecse
1.7k
views
asked
Feb 23
Algorithms
gatecse-2026-set1
algorithms
hashing
linear-probing
multiple-selects
one-mark
+
–
4
4 votes
2
2 answers
845
845 views
GATE CSE 2026 | Set 1 | Data Structures | Memory Based | Question 42
Consider a hash table of size $11$ that uses the hash function\[h(x)=(x+7)\bmod 11\]Keys are inserted in the order\[13,\,22,\,15,\,11,\,29,\,39,\,44\]The collision resolu...
GO Classes
845
views
asked
Feb 12
Data Structures
goclasses
gate2026_cs_set1_memorybased
data-structures
hashing
multiple-selects
linear-probing
one-mark
+
–
3
3 votes
2
2 answers
447
447 views
Made Easy | Programming & Data Structures | TWT-2
A hash table of size 11 using the hash function h(x)=x mod 11 and quadratic probing with hi(x)=(h(x)+i^2) mod 11 , i∈{0,1,2,…,10}.The key values are given in the followi...
ShivankXD
447
views
asked
Jan 8
Data Structures
made-easy-test-series
data-structures
hashing
+
–
1
1 vote
1
1 answer
307
307 views
I asked ChatGPT for the variation of the question which i got in mock test and this is the question I got?
A hash table of size m=13m = 13m=13 usesh(k,i)=(k mod 13+i(1+k mod 11)) mod 13h(k, i) = (k \bmod 13 + i(1 + k \bmod 11)) \bmod 13h(k,i)=(kmod13+i(1+kmod11))mod13What is t...
Vishwa_Teja
307
views
asked
Nov 8, 2025
Data Structures
hashing
data-structures
+
–
2
2 votes
1
1 answer
342
342 views
UGC NET CSE | June 2025 | Part 2 | Question: 86
Match List I with List II$\begin{array}{|ll|ll|} \hline \textbf{List I} & \textbf{(Hashing Collison} & \textbf{List II} & \textbf{(Strategy)} \\ &\textbf{Handling Method)...
Shubham Sharma 2
342
views
asked
Sep 10, 2025
Data Structures
ugcnetcse-june2025
hashing
data-structures
+
–
2
2 votes
1
1 answer
282
282 views
UGC NET CSE | December 2023 | Part 2 | Question: 23
Which of the following symbol table implementation is best suited if access time is to be minimum?Linear listSearch treeHash TableSelf organisation list
Shubham Sharma 2
282
views
asked
Sep 9, 2025
Compiler Design
ugcnetcse-dec2023
compiler-design
hashing
data-structures
+
–
2
2 votes
1
1 answer
387
387 views
UGC NET CSE | December 2023 | Part 2 | Question: 25
Which data structure is typically used to implement hash table?Linked listArrayBinary TreeStack
Shubham Sharma 2
387
views
asked
Sep 9, 2025
Data Structures
ugcnetcse-dec2023
hashing
data-structures
+
–
3
3 votes
1
1 answer
513
513 views
UGC NET CSE | December 2023 | Part 2 | Question: 26
Which collision resolution technique involves maintaining a linked list of collided keys?Linear probingQuadratic probingChainingDouble hashing
Shubham Sharma 2
513
views
asked
Sep 9, 2025
Data Structures
ugcnetcse-dec2023
hashing
linked-list
data-structures
+
–
2
2 votes
1
1 answer
411
411 views
UGC NET CSE | December 2023 | Part 2 | Question: 50
Which of the following is/are NOT CORRECT statement?The first record in each block of the data file is known as actor record.Dense index has index entries for every searc...
Shubham Sharma 2
411
views
asked
Sep 9, 2025
Databases
ugcnetcse-dec2023
database-design
indexing
b-tree
hashing
databases
+
–
Page:
1
2
3
4
5
6
...
14
next »