All challenges
Multiple ChoiceIntermediate 30s

Diameter of a tree

The diameter of a tree is:
Options
  1. 1Shortest root to leaf distance in the tree
  2. 2Longest path between any two nodes
  3. 3Height of the root measured as edge count
  4. 4Total number of leaves in the whole tree

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle