Hi,
This is with reference to question Anagrams Together question of help. In the question, it is mentioned that the output order of the answer doesn’t matter but when I am running my testcases, it is failing just because of the order. That’s not right. For eg, the testcase on which my program is failing are
Input case
9
awe
wea
aew
eaw
ads
sad
mad
dam
adm
Output Expected by the platform:-
ads sad \n
awe wea aew eaw\n
mad dam adm
My output:-
mad dam adm \n
ads sad \n
awe wea aew eaw
While the answer is same, the order is not same which is why I haven’t awarded the full credit for the problem.
There should be some way to fix this