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
Is array name a pointer?
What is the difference between int main and void main in c?
What is structure packing in c?
What does *p++ do?
What is volatile keyword in c?
Why c is called free form language?
What is use of bit field?
What are the types of type specifiers?
What is pragma in c?
cavium networks written test pattern ..
How do you print only part of a string?
Write a program of prime number using recursion.
How can you call a function, given its name as a string?
What is the difference between far and near ?
What does a derived class inherit from a base class a) Only the Public members of the base class b) Only the Protected members of the base class c) Both the Public and the Protected members of the base class d) .c file