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
Define the scope of static variables.
Explain how can I manipulate strings of multibyte characters?
What is 1f in c?
How can I pad a string to a known length?
What are shell structures used for?
Can you mix old-style and new-style function syntax?
Write a program to compute the similarity between two strings - The program should get the two strings as input - Then it will output one single number which is the percentage of similarity between the two strings
Explain what’s a signal? Explain what do I use signals for?
In C language, a variable name cannot contain?
diff between exptected result and requirement?
Can you please explain the difference between malloc() and calloc() function?
How do you determine the length of a string value that was stored in a variable?
Is boolean a datatype in c?
What is time null in c?
Create a structure to specify data on students given below: Roll number, Name, Department, Course, Year of joining Assume that there are not more than 450 students in the college. 1.write a function to print names of all students who joined in a particular year 2.write a function to print the data of a student whose roll number is given