Domanda di colloquio di GF

find the majority element in an array

Risposta di colloquio

Anonimo

21 feb 2018

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