Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged hashing
1
votes
0
answers
121
Hashing_And_Probability
Consider a hash table with 9 slots that use collision-resolution with chaining and the table is initially empty. What is the probability that after 4 insertions, at least a chain of size 3 is created?
Consider a hash table with 9 slots that use collision-resolution with chaining and the table is initially empty. What is the probability that after 4 insertions, at least...
Ayush Upadhyaya
468
views
Ayush Upadhyaya
asked
Dec 19, 2018
Algorithms
hashing
+
–
1
votes
0
answers
122
ME Test Series
Consider the following keys that are hashed into the hash table in the order given using the hash function $H(i) = (3i + 5) \ mod \ 11 $ 12, 44, 13, 88, 23, 94, 11, 39, 20, 16, 5 Where to handle the collision chaining is used, after ... all the above keys in table if 2 new keys inserted into table the what is the probability new items hashed into empty slot, (upto 2 decimal places)
Consider the following keys that are hashed into the hash table in the order given using the hash function$H(i) = (3i + 5) \ mod \ 11 $12, 44, 13, 88, 23, 94, 11, 39, 2...
Shadan Karim
598
views
Shadan Karim
asked
Dec 18, 2018
DS
hashing
+
–
0
votes
1
answer
123
#TestBook-algo
The characters of the string K R P C S N Y T J M are inserted into a hash table of size of size 10 using hash function h(x) = (ord(x) - ord(A) +1) If linear probing is used to resolve collisions, then the following insertion causes collision 1:Y 2:C 3:M 4:P The given ans is 3.. but what is the approach and what do we mean by ord?
The characters of the string K R P C S N Y T J M are inserted into a hash table of size of size 10 using hash functionh(x) = (ord(x) - ord(A) +1)If linear probing is used...
anjali007
246
views
anjali007
asked
Dec 17, 2018
Algorithms
hashing
linear-probing
testbook-test-series
+
–
0
votes
1
answer
124
Aspire Buzz #hashing
If h is any hashing function and is used to hash n keys in to a table of size m, where 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. My thought: If all the elements maps to same key then number of collisions would be less than n, am I wrong anywhere
If h is any hashing function and is used to hash n keys in to a table of size m, where n<=m, the expected number of collisions involving a particular key x is :a.)Less th...
Hemanth_13
545
views
Hemanth_13
asked
Dec 17, 2018
DS
hashing
+
–
0
votes
0
answers
125
DataStructure
is hashing there in gate 2019 syllabus?
is hashing there in gate 2019 syllabus?
abhishek1995_cse
600
views
abhishek1995_cse
asked
Dec 9, 2018
DS
data-structures
hashing
+
–
1
votes
2
answers
126
NIELIT 2018-65
For a given hash table $T$ with $10$ slots that stores $1000$ elements, the load factor $\alpha$ for $T$ is $100$ $0.01$ $200$ $1.05$
For a given hash table $T$ with $10$ slots that stores $1000$ elements, the load factor $\alpha$ for $T$ is$100$$0.01$$200$$1.05$
Arjun
3.5k
views
Arjun
asked
Dec 7, 2018
DS
nielit-2018
data-structures
hashing
+
–
1
votes
1
answer
127
doubt regarding NUMBER OF INSERTION SEQUENCES IN HASH TABLE
neerajyadav
722
views
neerajyadav
asked
Dec 4, 2018
Algorithms
algorithms
hashing
linear-probing
numerical-answers
made-easy-test-series
+
–
0
votes
0
answers
128
wooe OTS 0
Answer : 4.604
Answer : 4.604
HeadShot
303
views
HeadShot
asked
Dec 2, 2018
Algorithms
hashing
+
–
0
votes
0
answers
129
Hashing + Counting , Source : ME OTS
Anyone please give a solution to solve such question as it is difficult in one go.
Anyone please give a solution to solve such question as it is difficult in one go.
HeadShot
872
views
HeadShot
asked
Nov 30, 2018
Algorithms
hashing
+
–
0
votes
0
answers
130
MadeEasy Test Series 2018: Programming & DS - Hashing
What is the number of collisions while doing insert operation on the hash table? Options are 3 4 5 6 Answer is 4 Can anyone tell me how?
What is the number of collisions while doing insert operation on the hash table? Options are 3456Answer is 4Can anyone tell me how?
Jyoti Kumari97
582
views
Jyoti Kumari97
asked
Nov 25, 2018
DS
programming
data-structures
hashing
made-easy-booklet
+
–
0
votes
0
answers
131
Made Easy Algorithms Test - 2
https://gateoverflow.in/?qa=blob&qa_blobid=8164680937983732221 I don't understand the solution at all. I thought 91,33,44,and 77 can come in any possible ways but that has been said wrong.
https://gateoverflow.in/?qa=blob&qa_blobid=8164680937983732221I don't understand the solution at all. I thought 91,33,44,and 77 can come in any possible ways but that has...
Anurag Aizen Mukherj
254
views
Anurag Aizen Mukherj
asked
Nov 17, 2018
Algorithms
algorithms
hashing
+
–
0
votes
1
answer
132
Gate Forum
nag.swarna
674
views
nag.swarna
asked
Nov 6, 2018
Algorithms
hashing
numerical-answers
gateforum-test-series
+
–
0
votes
2
answers
133
double hashing
can any one explain double hashing example
can any one explain double hashing example
altamash
2.6k
views
altamash
asked
Nov 5, 2018
Algorithms
algorithms
hashing
+
–
1
votes
0
answers
134
Testbook Test Series: Programming & DS - Hashing
The keys 44, 63, 29, 78, 23, 6, 81, 14, 13, 12 and 52 are inserted into an initially empty hash table of length 12 using linear probing with hash function h(k)= k mod 12. What is the probability that the 10th slot will be ... a probability of filling as 1 because no matter what index we get for the next insert we are going to fill 10th slot only.
The keys 44, 63, 29, 78, 23, 6, 81, 14, 13, 12 and 52 are inserted into an initially empty hash table of length 12 using linear probing with hash function h(k)= k mod 12....
vinay chauhan
932
views
vinay chauhan
asked
Oct 31, 2018
DS
testbook-test-series
data-structures
hashing
+
–
1
votes
1
answer
135
Dbms test1
Shivani gaikawad
346
views
Shivani gaikawad
asked
Oct 27, 2018
Databases
databases
hashing
+
–
0
votes
0
answers
136
Made easy w/b
Manoj Kumar Pandey
262
views
Manoj Kumar Pandey
asked
Oct 12, 2018
Programming in C
hashing
+
–
0
votes
0
answers
137
Self-doubt - Case of Deletion when Open Addressing is used for collision resolution
In case of Open Addressing, when a key is deleted, a tombstone marker(delete marker) is inserted at its place. So if the hash table contains a lot of markers then it degrades the performance to a great extent ... DOUBT is - When the hash table contains a lot of tombstone markers, will it increases the load factor?
In case of Open Addressing, when a key is deleted, a tombstone marker(delete marker) is inserted at its place.So if the hash table contains a lot of markers then it degra...
Soumya29
607
views
Soumya29
asked
Oct 5, 2018
Algorithms
hashing
algorithms
+
–
1
votes
2
answers
138
Test series
Suppose that a hash table of m slots contains a single element with key k and the rest of the slots are empty. Suppose further that we search r times in the table for various other keys not equal to k. Assuming simple uniform hashing, what is the probability that one of the r searches probes the slot containing the single element stored in the table?
Suppose that a hash table of m slots contains a single element with key k and the rest of the slots are empty. Suppose further that we search r times in the table for var...
Somoshree Datta 5
1.2k
views
Somoshree Datta 5
asked
Oct 4, 2018
Algorithms
test-series
hashing
uniform-hashing
probability
+
–
10
votes
1
answer
139
Hashing with Linear probing
Consider an initially empty hash table of length 10. Following are the keys in hash table inserted using mod function h(k)=k mod 10. Slot Number Value 0 1 91 2 3 33 4 44 5 23 6 64 7 77 8 9 How many different insertion sequences of keys would result in the above hash table? My answer comes to be 56, is it correct?
Consider an initially empty hash table of length 10. Following are the keys in hash table inserted using mod function h(k)=k mod 10.Slot NumberValue0 1912 333444523664777...
Ayush Upadhyaya
3.4k
views
Ayush Upadhyaya
asked
Sep 22, 2018
Programming in C
hashing
data-structures
+
–
3
votes
2
answers
140
Hashing
ben10
1.3k
views
ben10
asked
Sep 15, 2018
Programming in C
data-structures
hashing
+
–
0
votes
0
answers
141
Hash function
Which of following is true ? A. A secure hash function can never produce any collisions. B. Cryptographic function is deterministic C. Host using DHCP on wired network can be prevented against DHCP spoofing attacks. D. None
Which of following is true ?A. A secure hash function can never produce any collisions.B. Cryptographic function is deterministicC. Host using DHCP on wired network can b...
Na462
756
views
Na462
asked
Sep 15, 2018
Computer Networks
hashing
computer-networks
+
–
0
votes
1
answer
142
solve this Q
Common Data Questions 30 and 31. Consider the given below following conditions: The size of the hash table is 11. Open addressing and double hashing is used to resolve collisions. The hash function used is H(k) = kmod 11 The second hash function is H2(k) = 5 - ( ... 34, 12, 56 56 stored at which location in the hash table Option (A) 6 Option (B) 8 Option (C) 10 Option (D) 11
Common Data Questions 30 and 31.Consider the given below following conditions:• The size of the hash table is 11.• Open addressing and double hashing is used to resol...
kallu singh
1.6k
views
kallu singh
asked
Sep 7, 2018
DS
hashing
double-hashing
+
–
0
votes
1
answer
143
hashing
given keys: 224562,137456,214562 140145,214576,162145 144467,199645,234534 Using the digit-extraction method (first, third and fifth digits) and quadratic probing, stores the keys shown above in an array with 19 elements. What is the indexes of bin into which all the records are inserted? hint : digit extraction(1,3,5) for 224562->246 mod 19 = 18 and soon.
given keys:224562,137456,214562140145,214576,162145144467,199645,234534Using the digit-extraction method (first, third and fifth digits) and quadratic probing, stores the...
balaganesh
1.6k
views
balaganesh
asked
Aug 31, 2018
DS
quadratic
probing
hashing
data-structures
+
–
1
votes
0
answers
144
Hashing
Suppose we used a hash fu action H(n) to hash n distinct elements (key) into an array T of length m. What is expected number of collision, if simple uniform hashing is used.
Suppose we used a hash fu action H(n) to hash n distinct elements (key) into an array T of length m. What is expected number of collision, if simple uniform hashing is us...
hrcule
513
views
hrcule
asked
Aug 9, 2018
DS
hashing
data-structures
uniform-hashing
probability
+
–
0
votes
1
answer
145
Hash Function
Which of the following is the least suitable hash function H(x) where X is some non negative integer ? 1. h(k) =k%n 2.h(k) =k*k %n 3.h(k)=(gcd(k+1,2k+2) +k ) %n Linear probing is used for collision resolution .
Which of the following is the least suitable hash function H(x) where X is some non negative integer ?1. h(k) =k%n2.h(k) =k*k %n3.h(k)=(gcd(k+1,2k+2) +k ) %nLinear probin...
dragonball
13.9k
views
dragonball
asked
Aug 4, 2018
DS
hashing
data-structures
+
–
1
votes
0
answers
146
Hashing
What is the difference between hashing and addressing? Because the definition of open addressing and closed hashing seems to be the same.
What is the difference between hashing and addressing? Because the definition of open addressing and closed hashing seems to be the same.
Asutosh
354
views
Asutosh
asked
Aug 2, 2018
Databases
hashing
data-structures
+
–
0
votes
2
answers
147
UGC NET CSE | July 2018 | Part 2 | Question: 23
A hash function h defined h(key)=key mod 7, with linear probing, is used to insert the keys 44, 45, 79, 55, 91, 18, 63 into a table indexed from 0 to 6. What will be the location of key 18? 3 4 5 6
A hash function h defined h(key)=key mod 7, with linear probing, is used to insert the keys 44, 45, 79, 55, 91, 18, 63 into a table indexed from 0 to 6. What will be the ...
Pooja Khatri
9.0k
views
Pooja Khatri
asked
Jul 13, 2018
DS
ugcnetcse-july2018-paper2
data-structures
hashing
+
–
1
votes
1
answer
148
UGC NET CSE | July 2018 | Part 2 | Question: 70
Consider a hash table of sze seven, with starting index zero, and a hash function (7x+3) mod 4. Assuming that the hash table is initially empty, which of the following is the contents of the table when the sequence 1, 3, 8, 10 is inserted into the table using closed ... 3, 8, 10, ___, ___, ___ 1, ___, 3, ___, 8, ___, 10 3, 10, ___, ____, 8, ___, ___
Consider a hash table of sze seven, with starting index zero, and a hash function (7x+3) mod 4. Assuming that the hash table is initially empty, which of the following is...
Pooja Khatri
3.1k
views
Pooja Khatri
asked
Jul 13, 2018
DS
ugcnetcse-july2018-paper2
data-structures
hashing
+
–
1
votes
1
answer
149
CLRS 11.2-6
Suppose we have stored n keys in a hash table of size m, with collisions resolved by chaining, and that we know the length of each chain, including the length L of the longest chain. Describe a procedure that selects a key uniformly at random from among the keys in the hash table and returns it in expected time O(L * (1 + m/n)).
Suppose we have stored n keys in a hash table of size m, with collisions resolved by chaining, and that we know the length of each chain, including the length L of the lo...
mohitjarvissharma
783
views
mohitjarvissharma
asked
Jul 11, 2018
Algorithms
algorithms
hashing
chaining
+
–
2
votes
1
answer
150
madeeeasy work book hashing
WHICH OF THE FOLLOWING IS THE BEST CHOICE AS $m$ IN THE HASH FUNCTION $h(k)=k \mod m$?? $61$ $701$ $81$ answer is given as $701$ but how??
WHICH OF THE FOLLOWING IS THE BEST CHOICE AS $m$ IN THE HASH FUNCTION $h(k)=k \mod m$??$61$$701$$81$answer is given as $701$ but how??
eyeamgj
2.1k
views
eyeamgj
asked
Jun 17, 2018
Programming in C
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