Question d’entretien chez Huawei Technologies

Coding problem to sort integers provided by the user and remove duplicate ones in final array.