An open API service indexing awesome lists of open source software.

https://github.com/mxssl/removedup

Write a function that accepts a list of ints and returns a copy of that list with duplicate ints removed
https://github.com/mxssl/removedup

Last synced: about 1 year ago
JSON representation

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

Awesome Lists containing this project

README

          

# 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
```