I am trying a simple recursive approach here. From each dimension, I am checking whether or next I can move forward to next dimension. If so I am moving there and return back to the present position to check whether backward movement is possible or not. Problems I am facing : 1) If I comment out one recursion (either), the answer becomes zero. Where have I gone wrong? Please help p.s. Is there any other approach for this problem? asked 25 Aug '15, 11:41
