I have created a solution for Medium practice problem “Relevant Phrases of Annihilation”.
I have tested it and it is working fine for all the cases but it is showing as wrong answer.
It seems there is some problem in input and output format. This is my first problem so i would like to have some help here.
Solution is in Java language with username sgpandey123