I am trying to do this [question][1] on leetcode. Can someone please tell me what is wrong with my
[2].
It is giving correct answer on codeblocks for the testcase which is failing on leetcode platform . However the same test case is giving correct answer when I run it as custom input on leetcode. Any suggestions:)
Thanks in advance. Please help.
[1]: https://leetcode.com/problems/group-anagrams/description/
[2]: https://drive.google.com/file/d/1qmQJJCaeTM4xjhOYmaJaMfBixEg_32LL/view?usp=sharing
I think that the output format is this i.e. you have to insert brackets also. Not sure about this! btw is there a way to know how many tests are passed? If yes and your code didn’t pass a single test than try to format it that way and try!