Anagram Hackerrank Solution In Java, It is running fine on my Eclipse but it is not giving the expected output on HackerRank platform.