Anagram together problem

What’s wrong with the solution.No test case is passing!

@abhir26 your code is working fine, i think solution is considering the order of output although it is mentioned that they won’t matter.Try this problem again after some time it will be updated soon.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.