vectors
Write an R function solution(x) that returns the unique elements of x, keeping their first-appearance order.
Example
solution(c(1, 1, 2, 3, 3)) → c(1, 2, 3)
solution.py
14px
📊 Test Results
Run your code to see test results here.