DEV Community

Discussion on: How to compare two arrays in javascript?

Collapse
 
stereobooster profile image
stereobooster • Edited

This will make code work, but it is O(n^2) (the same as the original code)