Https://ide.codingblocks.com/s/360248

please help where am i doing wrrong;

Hey @sauravzt7 I have seen your code and the implementation is little bit wrong.
Take reference from this code


As the implementation is almost same as of yours :grinning:

with unordred map it passed all the cases thank you