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
Why enum is used in c?
What does the && operator do in a program code?
What is the return type of sizeof?
What are the three constants used in c?
What do mean by network ?
Can we use any name in place of argv and argc as command line arguments?
What functions are in conio h?
If a variable is a pointer to a structure, then which operator is used to access data members of the structure through the pointer variable?
Should I learn c before c++?
What is the purpose of the statement: strcat (S2, S1)?
Describe newline escape sequence with a sample program?
Can we compile a program without main() function?
What math functions are available for integers? For floating point?
What is %d used for?
What is the general form of function in c?