Oracle interview question

Solve the connected components of a graph algorithm question.