Codeforces Round 1133 (Div. 1, Div. 2) is coming soon! Register here. ×

justHusam's blog

By justHusam, 12 years ago, In English

How i can use array instead of stack in tarjan algorithm ?? i tried to implement something but i'm getting run time error and i don't know why :( ?

  • Vote: I like it
  • +4
  • Vote: I do not like it

»
12 years ago, hide # |
← Rev. 3  
Vote: I like it 0 Vote: I do not like it

wrong

»
12 years ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

You mean using own stack instead of system stack in recursion?