Create an array with values that are present in the first input array but not additional ones
by sindresorhusJavaScript
Last 12 weeks · 0 commits
4 of 6 standards met
Repository: sindresorhus/array-differ. Description: Create an array with values that are present in the first input array but not additional ones Stars: 40, Forks: 9. Primary language: JavaScript. Languages: JavaScript (64.8%), TypeScript (35.2%). License: MIT. Latest release: v4.0.0 (4y ago). Open PRs: 0, open issues: 0. Last activity: 4y ago. Community health: 85%. Top contributors: sindresorhus, Richienb, coreyfarrell, BendingBender, SamVerschueren.
Would you be okay with adding something to the README stating what the time complexity of the algorithm is? My understanding from looking at the code is that it's O(n log n), but I'm not sure if that's correct. Thanks :)