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 are the __date__ and __time__ preprocessor commands?
How can I dynamically allocate arrays?
I need a sort of an approximate strcmp routine?
What is sizeof in c?
What are called c variables?
What is a macro, and explain how do you use it?
Is it cc or c in a letter?
What is spaghetti programming?
Define VARIABLE?
Is array name a pointer?
program to find out date after adding 31 days to a date in the month of febraury also consider the leap year
What is double pointer in c?
Write the test cases for checking a variable having value in range -10.0 to +10.0?
any C program contains only one function, it must be a) void () b) main () c) message () d) abc ()
What are the functions to open and close file in c language?