I am using 2 stacks. Getting the right answer in the custom test case window whil

I am using 2 stacks. Getting the right answer in the custom test case window while on submission showing garbage values.

Click here to start solving coding interview questions