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

why it is showing segmentation error please comment it out


@Aditya-Kushwaha-914550392281281 see to it!

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.

bhiya in ur solution why we have these 2 cases i < f and j< f

So that if elements in first array remains (i<f) is used, or if elements in second array remains then (j<f) is used.
So put both and one of them will execute accordingly.

@Aditya-Kushwaha-914550392281281 The doubt was reopened. Is your doubt resolved?

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.