plz clarify this i dont understand that
What is the difference between this question and kingdom defence which is given in the video
hello @mohitsingh
only difference is in their input.
in kingdom u r givn height and weidth of board , for grand temple it is not given.
in kingdom we initialize ds=x[0]-1 same dy why not in this
logic is same for both , implementation u can do as per ur convenience.
but in this if we do this we got wrong answers
…
logic is same in both the question.
input format is given in differnt format, so same code implementation will not work in both
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.