root - 1, leaf node - 4, closest ancestor with unexplored children - 3, child of 3 - 5,

Depth first search algorithm

Leaderboard

Visual style

Options

Switch template

Continue editing: ?