2 stories

You have a directed connected graph. Write an algorithm that detects any cycle, if one exists, and returns a list of its nodes.

814 views Amin A.

Write the algorithm that LinkedIn.com uses to tell you how many professionals you have access to.

693 views Amin A.