This is a solution for an interview question from a company.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dist
src
test
.gitignore
README.md
index.html
package.json
webpack.config.js

README.md

email-deduplication

The point of this project is to write a performant algorithm for removing duplicate strings from an array while maintaining ordering. The key algorithm lives in removeDuplicates. The rest of the application consists of a simple React app for demonstrating the algorithm and a small test suite to verify correct behavior. I use lodash's unique method as a reference implementation to verify off of.

The React demo app can be seen on my website.