What is wrong in this code?
Thiis error is coming:
/bin/run.sh: line 4: 18 Segmentation fault (core dumped) ./exe
Plz help with this code
Can you see it now? I’ve saved it on cb ide
@apoorvagupta1 see line 45, you were not incrementing fast pointer earlier hence it was stuck in an infinite loop, code is working now https://ide.codingblocks.com/s/291308