title: Determining equivalent arrays in Java
body: <p>In java, What is the most efficient way to decide whether two arrays contain all of the same elements. The arrays can have duplicates or can be unsorted. Most efficient meaning run time complexity and space complexity.</p>