employer cover photo
employer logo
employer logo

Hughes Network Systems

Fait partie de EchoStar

Employeur impliqué

Question d’entretien chez Hughes Network Systems

Find a median of a unsorted array?Write in Python.

Réponse à la question d'entretien

Utilisateur anonyme

9 avr. 2015

First sort the array using merge sort and then check the length of the array. If even , then mid element is the median or else find the average of the mid elements.