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
What do you mean by scope of a variable in c?
Is c procedural or object oriented?
Write a program to print all permutations of a given string.
Explain how do you convert strings to numbers in c?
Write a code of a general series where the next element is the sum of last k terms.
How can I list all of the predefined identifiers?
Is c dynamically typed?
What does int main () mean?
The postoder traversal is 7,14,3,55,22,5,17 Then ur Inorder traversal is??? please help me on this
What does #pragma once mean?
What is the c value paradox and how is it explained?
console I/O functions means a) the I/O operations done on disk b) the I/O operations done in all parts c) the input given through keyboard is displayed VDU screen d) none of the above
What is static function in c?
What is 02d in c?
Write a program to input the price of 1 burger and the number of burgers eaten by a group of friends .print the total amount to be paid by the group?