Unique Path II Doubt regarding [[0]] test case

I wanted to know why in case when input is [[0]] then output=1.
If the reason is : Since robot is at the final point the only way is robot doesn't move, that means, if robot stands at a point then that will also considered as a path.
If this is the reason then isn't it means there will be infinte many answers since if Robot stands at any point then that will also be considered as a path.

Also, I have one more doubt. If there is obstacle at (0,0) and since as per question, robot is also there. That means they both can be at the same point. Isn't it seems vauge? I mean this statement 'both can be at same point' will destroy the real objective.

Thanks in advance!

Comments (0)