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 linker error?
Why does the call char scanf work?
What is 2 d array in c?
What is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
What is a constant?
Mention four important string handling functions in c languages .
Give differences between - new and malloc() , delete and free() ?
Find MAXIMUM of three distinct integers using a single C statement
In a switch statement, what will happen if a break statement is omitted?
Do array subscripts always start with zero?
Can you write a programmer for FACTORIAL using recursion?
what are enumerations in C
In C language, the variables NAME, name, and Name are all the same. TRUE or FALSE?
What is a sequential access file?
How can you draw circles in C?