Pergunta de entrevista da empresa Infosys

Find the minimum subset of array with same LCM as the array