Domanda di colloquio di AlgoSec

given an integer array, find a maximum product of a triplet in array