Pregunta de entrevista de GF

find the majority element in an array

Respuesta de la entrevista

Anónimo

21 feb 2018

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