Would storing records on thelist in alphabetical order by


Implement a city database using unordered lists. Each database record containsthe name of the city (a string of arbitrary length) and the coordinatesof the city expressed as integer x and y coordinates. Your database shouldallow records to be inserted, deleted by name or coordinate, and searchedby name or coordinate. Another operation that should be supported is toprint all records within a given distance of a specified point. Implement thedatabase using an array-based list implementation, and then a linked list implementation.Collect running time statistics for each operation in both implementations.What are your conclusions about the relative advantages anddisadvantages of the two implementations? Would storing records on thelist in alphabetical order by city name speed any of the operations? Wouldkeeping the list in alphabetical order slow any of the operations?

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Would storing records on thelist in alphabetical order by
Reference No:- TGS01377708

Expected delivery within 24 Hours