Pergunta de entrevista da empresa AlgoSec

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