employer cover photo
employer logo
employer logo

Triple Point Technology

Parte da empresa ION Group

Essa empresa é sua?

Pergunta de entrevista da empresa Triple Point Technology

Function takes an array as a parameter and returns a number which isn't the maximum. No pseudo code expected, just the logic was asked.

Resposta da entrevista

Sigiloso

18 de jun. de 2017

too easy, can be done in O(1) complexity if the array elements are distinct. Just compare the first two elements and return the smaller one