Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Algo(G,a,b,c)
- INIT(G)
- DFS_VISIT(G,a,c1)
- if(c1[c]=nero)then
- DFS_VISIT(G,c,c2)
- else
- return false
- if(c2[b]=nero)then
- return true
- else
- return false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement