Synchrony Interview Question

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