program to find the second largest word in a paragraph
amongst all words that repeat more thn twice
Answer Posted / marimuthu
By simple
1.find length of each word
2.insert into binary search tree
3.recursively get the left most child of the right sub tree. finally you will get the second largest word.
via this logic you can smallest word,largest word.
is it have criticize?? mail me rainpearls.v@gmail.com
Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
Explain what is the difference between functions abs() and fabs()?
Explain how can you be sure that a program follows the ansi c standard?
What does %2f mean in c?
What is a constant?
Explain the bubble sort algorithm.
What is f'n in math?
What is c language and why we use it?
Why is it that not all header files are declared in every C program?
What is the right way to use errno?
Explain what is meant by 'bit masking'?
What is external variable in c?
What are enumerated types?
difference between object file and executable file
Where define directive used?
What are the rules for the identifier?