mxssl / removeDup

Write a function that accepts a list of ints and returns a copy of that list with duplicate ints removed

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remove duplicate

Write a function that accepts a list of ints and returns a copy of that list with duplicate ints removed

go test ./... -v -cover
=== RUN   TestCase
Expected: [10 20 30 40 50], Output: [10 20 30 40 50]
--- PASS: TestCase (0.00s)
PASS
coverage: 70.0% of statements
ok      github.com/mxssl/removeDup      0.142s  coverage: 70.0% of statements

About

Write a function that accepts a list of ints and returns a copy of that list with duplicate ints removed


Languages

Language:Go 100.0%