Domanda di colloquio di Cisco

Write a function that, given an array, returns an array with the same content of the parameter but without duplicates.

Risposta di colloquio

Anonimo

28 nov 2018

If they'll let you use Python: return list(set(parameter)