Detect whether there is a circle/loop in directed/undirected graph

# Category: Review

## Review: Binary tree traversal

## Review: Union Find Problems

Union find is helpful to build relationship among different sets

Key operations: union, find, etc.

Detect whether there is a circle/loop in directed/undirected graph

Union find is helpful to build relationship among different sets

Key operations: union, find, etc.