1.

Write a program to read a list of n integers and find their median. The median value of a list of values is the middle one when they are arranged in order. If there are two middle values then take their average. Hint: You can use a built-in function to sort the list

Answer» Write a program to read a list of n integers and find their median.

The median value of a list of values is the middle one when they are arranged in order. If there are two middle values then take their average.

Hint: You can use a built-in function to sort the list


Discussion

No Comment Found

Related InterviewSolutions