Given a MxN grid, like :
{{{111 111
111 or 001
111 001}}}
Write a function to return all possible paths from start (0,0) to destination (M-1,N-1). Allowed moves: right, down, and diagonal down. Value 1 indicates moves is possible, 0 indicates move not possible.
Posted by rv on July 14, 2015
by via CareerCup RSS Feed
No comments:
Post a Comment