Login
Register
@
Dark Mode
Profile
Edit my Profile
Messages
My favorites
Register
Activity
Q&A
Questions
Unanswered
Tags
Subjects
Users
Ask
Previous Years
Blogs
New Blog
Exams
Dark Mode
Hashing - Linear Probing
ankitgupta.1729
asked
in
Algorithms
Nov 9, 2017
1,038
views
1
vote
1
vote
hashing
ankitgupta.1729
asked
in
Algorithms
Nov 9, 2017
by
ankitgupta.1729
1.0k
views
answer
comment
Follow
share this
share
4 Comments
Show 4 previous comments
by
ankitgupta.1729
commented
Nov 10, 2017
reply
Follow
share this
But here we r using linear probing.. So I think 42 will again collide with 23..Please correct me..
0
0
by
joshi_nitish
commented
Nov 10, 2017
reply
Follow
share this
but linear probing here is not done like normally we do x = (x+1)mod10
it is explicitly mentioned in qsn how to linearly prob i.e ((c+1)*x + c)mod10
1
1
by
ankitgupta.1729
commented
Nov 10, 2017
reply
Follow
share this
Yes.. You are right.. Thank you :)
0
0
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
0
Answers
← Previous
Next →
← Previous in category
Next in category →
Related questions
10
votes
10
votes
1
answer
1
Ayush Upadhyaya
asked
in
Programming in C
Sep 22, 2018
3,397
views
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?
Ayush Upadhyaya
asked
in
Programming in C
Sep 22, 2018
by
Ayush Upadhyaya
3.4k
views
hashing
data-structures
5
votes
5
votes
3
answers
2
mcjoshi
asked
in
DS
Aug 30, 2016
5,533
views
Hashing : Quadratic Probing
Keys $9,19,29,39,49,59,69$ are inserted into a hash Table of size $10$ $(0-9)$ using the hash function $H = k mod 10$ and Quadratic Probing is used for collision resolution. What is the index into which 59 will be inserted ? $a). 3$ $b). 6$ $c). 8$ $d). 5$
mcjoshi
asked
in
DS
Aug 30, 2016
by
mcjoshi
5.5k
views
hashing
data-structures
1
vote
1
vote
2
answers
3
Mk Utkarsh
asked
in
Algorithms
Nov 11, 2017
537
views
Virtual Gate Test Series: Algorithms - Hash Table(Linear Probing)
Mk Utkarsh
asked
in
Algorithms
Nov 11, 2017
by
Mk Utkarsh
537
views
algorithms
hashing
virtual-gate-test-series
2
votes
2
votes
2
answers
4
anurag_am
asked
in
DS
May 23, 2015
920
views
linear probing
How are elements deleted in linear probing ? (a) Deletion is not allowed (b) they are changed to zero (c) they are marked deleted (d) unchecked deallocation (e) None of the above
anurag_am
asked
in
DS
May 23, 2015
by
anurag_am
920
views
hashing
Subscribe to GATE CSE 2024 Test Series
Subscribe to GO Classes for GATE CSE 2024
Quick search syntax
tags
tag:apple
author
user:martin
title
title:apple
content
content:apple
exclude
-tag:apple
force match
+apple
views
views:100
score
score:10
answers
answers:2
is accepted
isaccepted:true
is closed
isclosed:true
Recent Posts
Post GATE 2024 Guidance [Counseling tips and resources]
GATE CSE 2024 Result Responses
[Project Contest] Pytorch backend support for MLCommons Cpp Inference implementation
Participating in MLCommons Inference v4.0 submission (deadline is February 23 12pm IST)
IIITH PGEE 2024 Test Series by GO Classes
Subjects
All categories
General Aptitude
(3.5k)
Engineering Mathematics
(10.4k)
Digital Logic
(3.6k)
Programming and DS
(6.2k)
Algorithms
(4.8k)
Theory of Computation
(6.9k)
Compiler Design
(2.5k)
Operating System
(5.2k)
Databases
(4.8k)
CO and Architecture
(4.0k)
Computer Networks
(4.9k)
Artificial Intelligence
(79)
Machine Learning
(48)
Data Mining and Warehousing
(25)
Non GATE
(1.4k)
Others
(2.7k)
Admissions
(684)
Exam Queries
(1.6k)
Tier 1 Placement Questions
(17)
Job Queries
(80)
Projects
(11)
Unknown Category
(870)
64.3k
questions
77.9k
answers
244k
comments
80.0k
users
Recent Blog Comments
category ?
Hi @Arjun sir, I have obtained a score of 591 in ...
download here
Can you please tell about IIT-H mtech CSE self...
Please add your admission queries here:...
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy