HackerRank
HackerRank copied to clipboard
Question: Why did you sort the two arrays. is did not enhance the performance complexity is still O(n*m)
https://github.com/RyanFehr/HackerRank/blob/master/Algorithms/Implementation/Electronics%20Shop/Solution.js