j
k
j a
j l
Hint: you can start finding strongly connected components.
Back to the thread
Back to the list