Traktour's blog

By Traktour, history, 4 years ago, In English

Hello, I have some difficulties with this problem. Given a grid, you are initially in (1,1) and you want to go to (n,m) but you can't step in a cell with '#' you want to check if it is possible and show the lexicographically smallest path ( DDDRL)example of a path I thought of using bfs but it didn't work Thanks

Full text and comments »

  • Vote: I like it
  • -6
  • Vote: I do not like it