Cisco interview question

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

Interview Answer

Anonymous

28 Nov 2018

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