Pergunta de entrevista da empresa GF

find the majority element in an array

Resposta da entrevista

Sigiloso

21 de fev. de 2018

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