employer cover photo
employer logo
employer logo

Check Point Software Technologies

Azienda coinvolta

Domanda di colloquio di Check Point Software Technologies

Algorithm for finding a repeating element in an array

Risposta di colloquio

Anonimo

13 set 2018

Two answers here, one is more efficient as far as memory, i.e. sort first then compare neighbors, the second solution is to save values to a dictionary which is faster O(n), but expensive

Domande di colloquio di Check Point Software Technologies: Algorithm for finding a repeating element in an array | Glassdoor