algorithms icon indicating copy to clipboard operation
algorithms copied to clipboard

Better running time for remove_dup

Open apatruni opened this issue 8 years ago • 2 comments

Linearithmic solution to remove_dup with linear space. Existing implementation uses quadratic time approach.

apatruni avatar Jan 11 '17 17:01 apatruni

thanks for the PR, but the purpose for this repo is not for "Performance" but "Clearness" for understanding.

xtaci avatar Jan 12 '17 02:01 xtaci

is the function working properly if i pass three consecutive elements which are the same value? for example in the array {'a','a','a'}

apatruni avatar Mar 05 '17 07:03 apatruni