INPSTFIX problem DSA week 2: SIGSEGV

Hi,

My solution works on sample cases, but I am getting SIGSEGV. I don’t understand why. Here is my solution → CodeChef: Practical coding for everyone

Thanks,
Somesh

Hi @somesh1995

Here’s the updated code : CodeChef: Practical coding for everyone

Just check line 78, I added a condition to check if the stack is empty.

Thank you @anon85470456.