Java method that takes in an array of strings and sorts them

Write a Java method that takes in an array of strings and sorts
them by the number of unique characters in each string. Provide
comments which explain how the algorithm works
Powered by