1.find the second maximum in an array?
2.how do you create hash table in c?
3.what is hash collision
Answer Posted / steven le
1. Selection sort with second pass
2. Basically we create a two dimension array (key, value)
and then we define a hash function to determine position of
elements when we insert/delete.
3. When two elements insert to the same spot in a hash
table, we have a hash collision. H(x1) = H(x2) = y
| Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
Differentiate between #include<...> and #include '...'
‘ C’ PROGRAME TO SHOW THE TYPE OF TRANGLE BY ACCEPTING IT’S LENGTH .
What is meant by initialization and how we initialize a variable?
What do you understand by friend-functions? How are they used?
Explain heap and queue.
What is the use of define in c?
What is double pointer?
How the c program is executed?
Difference between linking and loading?
Difference between Shallow copy and Deep copy?
Explain how can type-insensitive macros be created?
What does 4d mean in c?
Write a program for Overriding.
What does sizeof function do?
When should structures be passed by values or by references?