please tell me cases where my code is failing. Its giving partial marks in your ide.
Anagram Together- Faang
Hey @shahidakhtar016 the logic you have used is absolutely fine, it’s just an issue with the output format. For eg:
With input:
9
awe
wea
aew
eaw
ads
sad
mad
dam
adm
Expected Output is:
mad dam adm
awe wea aew eaw
ads sad
Yours is giving this:
mad dam adm
ads sad
awe wea aew eaw
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.
