sry forgot to mention , actually i had to find the longest path .... form source to destination in the matrix ..
On 5/20/12, Registered user <[email protected]> wrote: > how do i traverse a 2d matrix of larger dimension ( say 1000x1000 ). i > used dfs that showed correct answer for smaller dimension matrix but > when larger dimension matrix came then error popped up "Stack over > flow .. :( " > -- You received this message because you are subscribed to the Google Groups "Google Code Jam" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-code?hl=en.
