one-line-wonders icon indicating copy to clipboard operation
one-line-wonders copied to clipboard

Unique Array

Open wzhouwzhou opened this issue 5 years ago • 3 comments

You are given an array with random integers. Design an algorithm that returns the array with duplicates removed. This means if the input is [1,10,7,1,4], the output will be [1,10,7,4].

Some solutions might be faster than others but speed does not matter

wzhouwzhou avatar Oct 01 '19 11:10 wzhouwzhou

Solved this issue in python https://github.com/wzhouwzhou/one-line-wonders/pull/404

yashagarwal1999 avatar Oct 19 '19 07:10 yashagarwal1999

Please let me know if there are any changes

yashagarwal1999 avatar Oct 19 '19 07:10 yashagarwal1999

Solved this issue in pull request https://github.com/wzhouwzhou/one-line-wonders/pull/410

yashagarwal1999 avatar Oct 21 '19 04:10 yashagarwal1999