Sollicitatievraag bij GF

find the majority element in an array

Antwoord op sollicitatievraag

Anoniem

21 feb 2018

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