Sir i got the logic for this problem but could not get why was it necessary to fix the potion of cow at the first position only, I mean we can place cow at second position also but why we choose that.
Position of fist count
Hi, so we place the first cow at first position in order to get the most optimal solution.
refer this https://ide.codingblocks.com/s/626151
So was it like k hamne usko reference bana dia as waking it as reference wont decease the spacing
also sir I struggle a lot while managing cp and dsa at the same time how to can i manage them
Things will get clear with more practise only…
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.