Traktour's blog

By Traktour, history, 3 months 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

Read more »

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