Question d’entretien chez Infosys

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