Sobes.tech
Junior — Senior

Function to remove duplicate elements from an array

livecode

Task condition

Given a list of integers. Implement a function that removes all duplicate values, leaving only one occurrence of each element. The algorithm should run in linear time O(n).