Q. Each unit in a Latin textbook contains a Latin-English vocabulary of words that have used for the first time in a particular unit. Write a program that converts a set of such vocabularies stored in a file Latin into a set of English-Latin vocabularies. Make the following assumptions:
(a) Unit names are preceded by a percentage symbol.
(b) There is only one entry per line.
(c) A Latin word is separated by a colon from its English equivalent(s); if there is more than one equivalent, they are separated by a comma.
To output English word in alphabetical order, create a binary search tree for each unit containing English words and linked list of Latin equivalents. Make sure that there is only one node for each English word in the tree. For example there is only one node for ‘and’, although ‘and’ is used twice in unit 6: with word ‘ac’ and ‘atque’. After the task has been completed for a given unit( that is, the content of the tree has been stored in an output file), delete the tree along with all linked lists
1
Expert's answer
2011-05-18T11:31:47-0400
Your question requires a lot of work and cannot be done for free. Submit it as an assignment to our control panel and we'll assist you.
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments
Leave a comment