I am getting correct output but test cases are coming wrong

https://ide.codingblocks.com/s/218674 … can you tell me where am I going wrong???

Hi @dhirenkinha

You need to print “No Code” if the stack is empty during query 1.
Link : https://ide.codingblocks.com/s/218924

Hope it Helps.