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
why we wont use '&' sing in aceesing the string using scanf
Is it acceptable to declare/define a variable in a c header?
What's the best way of making my program efficient?
How can I write data files which can be read on other machines with different word size, byte order, or floating point formats?
What is the difference between the local variable and global variable in c?
Explain enumerated types.
Explain the use of fflush() function?
Explain how can I manipulate strings of multibyte characters?
What does the error message "DGROUP exceeds 64K" mean?
How can variables be characterized?
Is fortran still used today?
int i=10; printf("%d %d %d", i, i=20, i);
what is the diffrenet bettwen HTTP and internet protocol
How can I remove the leading spaces from a string?
if the area was hit by a virus and so the decrease in the population because of death was x/3 and the migration from other places increased a population by 2x then annually it had so many ppl. find our the population in the starting.