Is there any algorithm to search a string in link list in
the minimum time?(please do not suggest the usual method of
traversing the link list)


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. 2) the Event Manager has to send participants to the stage to perform in the order in which they registered. Write a program that will help the Event Manager know who to call to the stage to perform. The Logic should be in Data Structures

0 Answers   KPIT,


What is difference between structure and union?

0 Answers  


pgm to reverse string using arrays i.e god is love becomes love is god) (assumption:only space is used for seperation of words) no addtional memory used.i.e no temporary arrays can used.

4 Answers   Persistent, Valyoo,


What is switch in c?

0 Answers  


write a program in c language that uses function to locate and return the smallest and largest integers in an array,number and their position in the array. it should also find and return the range of the numbers , that is , the difference between the largest number and the smallest.

1 Answers  






What are enumerated types?

0 Answers  


write a program which counts a product of array elements lower than 10.

1 Answers  


How can I avoid the abort, retry, fail messages?

0 Answers  


Is it fine to write void main () or main () in c?

0 Answers  


If errno contains a nonzero number, is there an error?

0 Answers  


main() { int x=20,y=35; x = y++ + x++; y = ++y + ++x; printf("%d %d\n",x,y); }

27 Answers   Advent Global Solutions, CitiGroup, Valeo Lighting Systems India Private Limited, Vishal Transformers, Wipro, Zencer,


Which of the following operators is incorrect and why? ( >=, <=, <>, ==)

0 Answers  


Categories