What is Hashing and how is it done? Pictorial form?
Answer Posted / vivin
A hashing function is a key-to-address transformation, which acts upon a given key to compute the relative position of the key in an array.
A simple hash function
HASH(KEY value)=KEYvalue MOD TABLESIZE
(ex) HASH(92)=92 MOD 10
=2
Here 10 is table size associated with records
Is This Answer Correct ? | 10 Yes | 0 No |
Post New Answer View All Answers
How to use CMutex, CSemaphore in VC++ MFC
What is abstract class in oops?
What is the purpose of enum?
What is the advantage of oop over procedural language?
What is the point of oop?
What is cohesion in oop?
Is react oop?
What is variable example?
Why is abstraction used?
What are the benefits of interface?
what is graphics
what type of questions
explain sub-type and sub class? atleast u have differ it into 4 points?
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
What is difference between class and object with example?