Question d’entretien chez GF

find the majority element in an array

Réponse à la question d'entretien

Utilisateur anonyme

21 févr. 2018

I used Moore voting algorithm to find the majority element in linear time and constant space