Question: Write the following functions in Java. min max median( lst ): This function returns a list that contains the minimum, the maxi- mum, and the

Write the following functions in Java.

min max median(lst): This function returns a list that contains the minimum, the maxi- mum, and the median numbers of a given list lst. If lst has an odd number of elements, then the median is the number that separates the higher half from the lower half. If lst has an even number of elements, then the median is the mean of the two middle values.

Use the list, not array !!!

something should like :

ArrayList................

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!