how to solve sherlock and array problem in java

welcome to shbcf.ru