Please help me find error
please press run in ide and u will see it ouputs core dumped
You can see my personal code here: https://github.com/DivonilLiquid/Data-Structure-Algorithm/blob/master/Searching%20%26%20Sorting/AggressiveCows.cpp
I have added possible explanation which will help you in understanding this problem better
Do let me know if this has helped you or not
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.