imesecan | Dec.15.2012 at 01:21:55 PM | |
0 | You can use stacks to solve this question
|
imesecan | Dec.15.2012 at 01:24:42 PM
|
1 | Сообщение скрыто
|
imesecan | Dec.15.2012 at 01:43:39 PM | |
2 | Hope you learn soon :)
|
imesecan | Dec.15.2012 at 03:20:22 PM
|
3 | Сообщение скрыто
|
imesecan | Dec.15.2012 at 04:10:21 PM | |
4 | The recursive algorithm is like this.
if any of the four sides of this cell is destination then increment the counter; Then call this function again for four sides (For example for left side If it's an available cell (0) and inborder and not visited yet make it visited go to (call this function for) left make it unvisited; end; )
|
imesecan | Dec.15.2012 at 04:33:49 PM
|
5 | Сообщение скрыто
|