Digital dictianary ------test case not passing https://ide.codingblocks.com/s/247990

@guptarahul3100
the operations like s += ch or s -= ch, are not valid on char array.
According to your code, i would suggest you use string c++ stl, like string s[n], string sp.

You also need to ordered map because we need to print the answer in lexicographic order.
Also incase of No suggestions you are missing the last ā€˜s’ char

I have done these changes in your code, you can also have a look at it.

Please feel free to ask. If your doubt is clear then please mark it as resolved.