Medium

BFS

Lead of BFS

DFS

Lead of DFS

Estimation

Lead of Estimation