diff --git a/build.py b/build.py index e58ff13..58adea2 100644 --- a/build.py +++ b/build.py @@ -1,7 +1,14 @@ import numpy as np - def solution(array): """ Enter your code here - """ \ No newline at end of file + """ + a = np.unique(array) + return a + +# solution([10,10, 20, 20, 30, 30]) +# Output : array([10, 20, 30]) + +# solution([[1,1] ,[2,3]]) +# Output : array([1, 2, 3]) diff --git a/build.pyc b/build.pyc new file mode 100644 index 0000000..1940b1f Binary files /dev/null and b/build.pyc differ diff --git a/tests/__init__.pyc b/tests/__init__.pyc new file mode 100644 index 0000000..508895a Binary files /dev/null and b/tests/__init__.pyc differ diff --git a/tests/test_solution.pyc b/tests/test_solution.pyc new file mode 100644 index 0000000..7a61988 Binary files /dev/null and b/tests/test_solution.pyc differ