Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged hashing
1
votes
1
answer
181
Hashing
The average number of probe required when inserting an element with load factor alpha (assume uniform hashing) 1 / 1-alpha how? Please explain
The average number of probe required when inserting an element with load factor alpha (assume uniform hashing) 1 / 1-alpha how? Please explain
Shivi rao
895
views
Shivi rao
asked
Oct 31, 2017
Algorithms
hashing
uniform-hashing
+
–
0
votes
0
answers
182
#Hashing
Consider a hashing function that resolves collision by quadratic probing .Assume the address space is indexed from 1 to 6. Which of the following locations will never be probed if a collision occurs at position 5? A). 4 B). 5 C). 8 D). 6
Consider a hashing function that resolves collision by quadratic probing .Assume the address space is indexed from 1 to 6. Which of the following locations will never be ...
shivangi5
346
views
shivangi5
asked
Oct 31, 2017
Programming in C
hashing
+
–
1
votes
0
answers
183
quradratic probing
which is correct method for QP : 1) 2) H(k) = (H+ i^2)mod m
which is correct method for QP :1) 2) H(k) = (H+ i^2)mod m
Hira Thakur
396
views
Hira Thakur
asked
Oct 31, 2017
DS
hashing
+
–
1
votes
0
answers
184
I have problem to understand the following question , help me to sort it out ?
A hash table with ten buckets with one slot per bucket is shown in the following figure. The symbols S1 to S7 initially entered using a hashing function with linear probing.The maximum number of comparisons needed in ... needed in searching an item that is not present is ?What does it means respect to this diagram ?
A hash table with ten buckets with one slot per bucket is shown in the following figure. The symbols S1 to S7 initially entered using a hashing function with linear probi...
hem chandra joshi
1.1k
views
hem chandra joshi
asked
Oct 30, 2017
DS
hashing
+
–
1
votes
0
answers
185
MadeEasy Subject Test: Programming & DS - Hashing
https://gateoverflow.in/?qa=blob&qa_blobid=11318007552752576944 Answer given is : 40/121
https://gateoverflow.in/?qa=blob&qa_blobid=11318007552752576944Answer given is : 40/121
charul
711
views
charul
asked
Oct 30, 2017
DS
made-easy-test-series
data-structures
hashing
+
–
3
votes
1
answer
186
Uniform Hashing
Suppose we use hash function H(n) to hash n distinct element(keys) into an array T of length m. What is the expected number of colliding pairs of element, if we use simple uniform hashing?
Suppose we use hash function H(n) to hash n distinct element(keys) into an array T of length m. What is the expected number of colliding pairs of element, if we use simpl...
srestha
2.0k
views
srestha
asked
Oct 13, 2017
DS
data-structures
hashing
+
–
1
votes
3
answers
187
Algorithm :- Hashing
Consider a hash table consisting of M=11 slots, and suppose integer key value are hashed into the table using hash function h1: int h1(int key) { x = (key + 5)*(key + 5); x = x/6; x = x + key; x = x%11; return x; } Suppose that collisions are resolved ... have been inserted in the given order: 43, 23, 1, 0, 15, 31, 4, 7, 11, 3 Source:- http://www.techtud.com/example/hashing
Consider a hash table consisting of M=11 slots, and suppose integer key value are hashed into the table using hash function h1:int h1(int key) { x = (key + 5)*(key + ...
rahul sharma 5
2.9k
views
rahul sharma 5
asked
Sep 27, 2017
Algorithms
algorithms
hashing
virtual-gate-test-series
+
–
0
votes
1
answer
188
UGC NET CSE | December 2009 | Part 2 | Question: 25
A hash function f defined as f(key) = key mod 7, with linear probing used to resolve collisions. Insert the keys 37, 38, 72, 48, 98 and 11 into the table indexed from 0 to 6. What will be the location of 11 ? (A) 3 (B) 4 (C) 5 (D) 6
A hash function f defined as f(key) = key mod 7, with linear probing used to resolve collisions. Insert the keys 37, 38, 72, 48, 98 and 11 into the table indexed from 0 t...
rishu_darkshadow
2.9k
views
rishu_darkshadow
asked
Sep 17, 2017
DS
ugcnetcse-dec2009-paper2
data-structures
hashing
+
–
2
votes
1
answer
189
Hashing
Given the input sequence {11, 33, 43, 99, 34, 79, 19} and hash table of size 10 with the hash function h(k) = k mod 10. If hash table uses quadratic probing, the number of collisions occurred while mapping the given sequence is ______.
Given the input sequence {11, 33, 43, 99, 34, 79, 19} and hash table of size 10 with the hash function h(k) = k mod 10. If hash table uses quadratic probing, the number o...
Abhisek Saha
746
views
Abhisek Saha
asked
Jun 19, 2017
Algorithms
hashing
algorithms
+
–
2
votes
1
answer
190
Test by Bikram | Algorithms | Test 2 | Question: 29
The given input sequence is $\{ 111, 333 , 243, 199, 234, 279, 119 \}$ and the hash table is of size $10$ with hash function $h(k) = k \mod 10$. When hash table uses quadratic probing with $h'(k)= h(k) + c_1 * i + c_2 * i^2, c_1 = 0, c_2 = 1$, the total number of collisions happening while mapping the given input sequence are __________.
The given input sequence is $\{ 111, 333 , 243, 199, 234, 279, 119 \}$ and the hash table is of size $10$ with hash function $h(k) = k \mod 10$. When hash table uses quad...
Bikram
588
views
Bikram
asked
May 26, 2017
Algorithms
tbb-algorithms-2
numerical-answers
algorithms
hashing
quadratic-probing
+
–
0
votes
1
answer
191
Test by Bikram | Mock GATE | Test 4 | Question: 13
Consider an initially empty hash table of length $10$. Following set of keys are inserted using open addressing with hash function $h\left ( k \right )=k\mod 10$ and linear probing. $2$, $13$, $24$, $12$, $62$, $73$, $82$, $91$ The number of probes done while searching for element $82$ is __________.
Consider an initially empty hash table of length $10$. Following set of keys are inserted using open addressing with hash function $h\left ( k \right )=k\mod 10$ and line...
Bikram
385
views
Bikram
asked
May 14, 2017
DS
tbb-mockgate-4
numerical-answers
data-structures
algorithms
hashing
+
–
2
votes
0
answers
192
MadeEasy Subject Test: Programming & DS - Hashing
what is the expected number of probs required when inserting an element into an open address hash table with load factor alpha(a), assume uniform hashing??
what is the expected number of probs required when inserting an element into an open address hash table with load factor alpha(a), assume uniform hashing??
sushmita
448
views
sushmita
asked
Mar 26, 2017
DS
data-structures
hashing
made-easy-test-series
+
–
0
votes
1
answer
193
Hashing
If h is any hashing function and is used to hash n keys into a table of size m, here n<=m, the expected number of collisions involving a particular key x is a) Less than 1 b) Less than n c) Less than m d) Less than n/2
If h is any hashing function and is used to hash n keys into a table of size m, here n<=m, the expected number of collisions involving a particular key x isa) Less than 1...
smartmeet
4.5k
views
smartmeet
asked
Feb 8, 2017
DS
hashing
data-structures
chaining
uniform-hashing
+
–
3
votes
2
answers
194
Given a hash table with n keys and m slots, with the simple uniform hashing assumption.....
Given a hash table with n keys and m slots, with the simple uniform hashing assumption (each key is equally likely to be hashed into each slot). Collisions are resolved by chaining. (a) What is the probability ... slot ends up empty? (b) What is the expected number of slots that end up not being empty?
Given a hash table with n keys and m slots, with the simple uniform hashing assumption (each key is equally likely to be hashed into each slot). Collisions are resolved b...
Smriti012
5.8k
views
Smriti012
asked
Feb 3, 2017
Programming in C
hashing
data-structures
chaining
+
–
2
votes
1
answer
195
gatebook
someone explain
someone explain
Niharika 1
466
views
Niharika 1
asked
Feb 2, 2017
DS
hashing
+
–
0
votes
0
answers
196
Hashing Question
Why 4 is multiplied in part. In the solution.
Why 4 is multiplied in part. In the solution.
Tendua
849
views
Tendua
asked
Jan 26, 2017
Programming in C
hashing
data-structures
+
–
2
votes
1
answer
197
is number of comparisons equal to number of collisons
Consider the hash table of size 12 that uses open addressing with linear probing. Let h(k) = k mod12 be the hash function used. A sequence of records with keys 43, 63, 84, 11, 5, 72, 15, 16 is in stored into an ... are indexed from zero to 11. The number of comparision for last element inserted is _________. what would the answer be 2 or 3
Consider the hash table of size 12 that uses open addressing with linear probing. Let h(k) = k mod12 be thehash function used. A sequence of records with keys 43, 63, 84,...
Pankaj Joshi
1.1k
views
Pankaj Joshi
asked
Jan 25, 2017
Algorithms
hashing
+
–
1
votes
1
answer
198
ME Full Syllabus Test 1
consider a hash table with 8 slots that uses chaining for collision resolution.The table is initially empty. What is the probability that after 4 keys are inserted, atleast a chain of size 3 is created?(assume simple uniform hashing is used) a. 29*8-3 b.8-4 c 8-3 d 3*8-1
consider a hash table with 8 slots that uses chaining for collision resolution.The table is initially empty. What is the probability that after 4 keys are inserted, atlea...
Vasu_gate2017
765
views
Vasu_gate2017
asked
Jan 23, 2017
Algorithms
hashing
uniform-hashing
made-easy-test-series
+
–
0
votes
1
answer
199
Hashing
A hash table of length 100 uses chaining.What is the probability that all the values are hashed into the same slot after 5 insertions?
A hash table of length 100 uses chaining.What is the probability that all the values are hashed into the same slot after 5 insertions?
nandini gupta
683
views
nandini gupta
asked
Jan 22, 2017
Algorithms
algorithms
hashing
chaining
descriptive
+
–
3
votes
1
answer
200
quadratic probing collison loop count??
Given the input sequence {11,33,43,79,19} and hash table of size 10 with the hash function h(k)=k mod 10. If hash tables uses quadratic probing,the number of collisions occured while mapping the given sequence is?
Given the input sequence {11,33,43,79,19} and hash table of size 10 with the hash function h(k)=k mod 10. If hash tables uses quadratic probing,the number of collisions o...
firki lama
1.2k
views
firki lama
asked
Jan 17, 2017
DS
hashing
data-structures
+
–
3
votes
1
answer
201
Hashing
Consider the hashing table with ‘m’ slots and ‘n’ keys. If the expected number of probes in unsuccessful search is 3. The expected number of probes in a successful search is _______ (upto 2 decimal place).
Consider the hashing table with ‘m’ slots and ‘n’ keys. If the expected number of probes in unsuccessful search is 3. The expected number of probes in a successfu...
srestha
3.2k
views
srestha
asked
Jan 16, 2017
Algorithms
hashing
+
–
4
votes
2
answers
202
MADE EASY TEST SERIES
Suppose we used a hash function H(n) to hash ‘n’ distinct elements (keys) into an array T of length ‘m’. What is the expected number of colliding pairs of elements, if we used simple uniform hashing?
Suppose we used a hash function H(n) to hash ‘n’ distinct elements (keys) into an array T of length ‘m’.What is the expected number of colliding pairs of elements...
User007
826
views
User007
asked
Jan 16, 2017
DS
hashing
+
–
4
votes
2
answers
203
Test by Bikram | Mock GATE | Test 1 | Question: 16
Hash a list of $3$ keys into hash table with $20$ locations. What will be the probability of the event $A$ in which hashing the three keys causes a collision? $0.123$ $0.145$ $0.800$ $0.750$
Hash a list of $3$ keys into hash table with $20$ locations. What will be the probability of the event $A$ in which hashing the three keys causes a collision?$0.123$$0.14...
Bikram
886
views
Bikram
asked
Jan 16, 2017
GATE
tbb-mockgate-1
data-structures
hashing
algorithms
+
–
0
votes
2
answers
204
MadeEasy Subject Test: Programming & DS - Hashing
True Or False.....? Explain...?
True Or False.....? Explain...?
Meghashyam Sujay
560
views
Meghashyam Sujay
asked
Jan 9, 2017
DS
made-easy-test-series
data-structures
hashing
+
–
1
votes
1
answer
205
DS :True / False
In hash function using linear probing to reduce collision, the number of probes required to insert an item is identical with number of probes needed to retrieve it. is it True/ False?
In hash function using linear probing to reduce collision, the number of probes required to insert an item is identical with number of probes needed to retrieve it.is it ...
srestha
1.3k
views
srestha
asked
Jan 8, 2017
Programming in C
data-structures
hashing
+
–
0
votes
1
answer
206
Virtual Gate Test Series: Algorithms - Hash Table
plz explain?
plz explain?
Hradesh patel
424
views
Hradesh patel
asked
Jan 6, 2017
Algorithms
algorithms
hashing
virtual-gate-test-series
numerical-answers
+
–
0
votes
2
answers
207
Algorithm ADA made easy
consider the following keys that are hashed into table in the order using giving hash function h(i)=(2i+5)mod11 12,44,13,88,23,94,11,39,20,16,5 Assume hash tables has locations from 0to 10.If hash table uses chaining to handle the collisions what is the probability of new elements'x' fit inside hash table without any collision I am getting answer 0.5
consider the following keys that are hashed into table in the order using giving hash function h(i)=(2i+5)mod1112,44,13,88,23,94,11,39,20,16,5 Assume hash tables has loca...
Shivangi Verma
803
views
Shivangi Verma
asked
Dec 22, 2016
Algorithms
hashing
numerical-answers
made-easy-test-series
+
–
0
votes
1
answer
208
Made Easy
Lucky sunda
320
views
Lucky sunda
asked
Dec 15, 2016
Algorithms
algorithms
hashing
linear-probing
made-easy-test-series
+
–
1
votes
1
answer
209
Algorithms Hashing
rahul sharma 5
432
views
rahul sharma 5
asked
Dec 14, 2016
Algorithms
algorithms
hashing
data-structures
test-series
+
–
0
votes
1
answer
210
MadeEasy Test Series: Programming & DS - Hashing
anybody give detailed explnation please
anybody give detailed explnation please
Anusha Motamarri
561
views
Anusha Motamarri
asked
Dec 6, 2016
DS
made-easy-test-series
data-structures
hashing
+
–
Page:
« prev
1
2
3
4
5
6
7
8
9
10
11
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register