Describe in your own words an example that requires sorting. Describe one that requires finding the shortest distance between two points.
Example where sorting is required:
- Organizing books in a library, could be sorted by date, author, publisher, ISBN etc.
Example where finding the shortest distance between two points is required:
- A mailman trying to organize his daily deliveries would want the best route to save his time, also this helps to optimize the business operations.