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 is the difference between printf and scanf in c?
What is the difference between struct and union in C?
What should malloc(0) do? Return a null pointer or a pointer to 0 bytes?
Tell us the use of fflush() function in c language?
List the variables are used for writing doubly linked list program.
Differentiate call by value and call by reference?
What is LINKED LIST? How can you access the last element in a linked list?
Find duplicates in a file containing 6 digit number (like uid) in O (n) time.
hi send me sample aptitude papers of cts?
in linking some of os executables are linking name some of them
How to implement a packet in C
What is sizeof c?
In c programming write a program that will print 10 multiples of 3 except 15,18,21 using looping
Describe how arrays can be passed to a user defined function
What is use of integral promotions in c?