Qm

How many diagonals does a cube have?

A cube has 8 corners and 12 edges. A diagonal is a straight segment joining two corners that are not joined by an edge.

  1. How many diagonals does a cube have?
  2. How many of them lie on a face, and how many pass through the interior?
  3. If the cube has side 1, how long is each kind?
Show a hint

Count all pairs of corners, then subtract the edges.

Your answer

Solving needs a free account

Answers, streaks and solutions unlock when you are signed in. Reading the question and the hint stays free.

Discussion

Sign in to join the discussion · reading is open to everyone

💡 Discussion rules

  1. No full solutions here. Hints and approaches only.
  2. Complexity, edge cases and intuition are the point.
  3. Interview experiences are welcome. Respect your NDAs.

Loading discussion…

Learn the concepts

The theory behind this question.

Related questions

A painted cube cut into 27The angle between two face diagonals of a cube1, 2, 4, 8, 16, ... and the pattern that breaksHow many diagonals does a twenty-sided polygon have?Fifty-one ants and a small square card
All questions →