Question d’entretien chez Freshworks

remove duplicate of the array inplace (without using extra memory)