Sunday, November 11, 2012

Shortest path

Given a binary square matrix of size n*n. 1 means there is a path, 0 means no path. Find the shortest path and print it from (0,0) to (n-1, n-1)

No comments:

Post a Comment

Post a Comment