Question d’entretien chez Synchrony

given a array of numbers asked to remove squares from that array