Pergunta de entrevista da empresa Papaya

Find the maximum product of two integers in an array

Resposta da entrevista

Sigiloso

25 de jun. de 2020

Using sorting and/or a heap handle the product of k integers. Got the right answer w/ time to spare but was O(n log(n)) while optimal O(n) is possible.