Question: Draw an activity diagram describing an algorithm for finding the top two maximum values in a list. The input is the list, and output is
Draw an activity diagram describing an algorithm for finding the top two maximum values in a list. The input is the list, and output is the top two maximum values.
Hints:
- Make your own assumptions
- Design/choose the algorithm first, then model it with an activity diagram
- Include appropriate level of detail in your model
Deliverable: PLEASE INCLUDE ALL 3 PARTS.
Include the algorithm (in pseudocode) you chose, the assumptions you made, and your model.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
