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
What are high level languages like C and FORTRAN also known as?
What does the && operator do in a program code?
Explain what is the general form of a c program?
What is pass by reference in functions?
Can a pointer be static?
Do you have any idea about the use of "auto" keyword?
What is the purpose of 'register' keyword?
What are the 4 types of organizational structures?
What are the 5 data types?
What is dynamic memory allocation?
Do you know what are the properties of union in c?
What is #define used for in c?
How can I generate floating-point random numbers?
What is an operator?
What are the uses of a pointer?