← GraphChallenge.com

Coding · Facts & stats

Graph facts & stats

7 fact-checked facts about graphs in graph theory, each with the reason behind it. 5 more are in today's round and join this page after it closes.

Play today's round

The basics

What makes a graph 'weighted'?

AnswerEach edge has a number, such as a distance or cost

Weights often stand for distances, travel times or costs, as on a road map.

What is a square table that records which pairs of vertices are connected called?

AnswerAn adjacency matrix

Entry (i, j) of an adjacency matrix shows whether there is an edge from vertex i to vertex j.

Going deeper

Breadth-first search usually uses which data structure to track vertices to visit?

AnswerA queue

A queue handles vertices first in, first out, so the search explores layer by layer.

Which mathematician solved the Seven Bridges of Königsberg problem in 1736?

AnswerLeonhard Euler

Euler showed no walk could cross each bridge exactly once, an early result in graph theory.

A tree with n vertices has how many edges?

Answern - 1

A tree is connected with no cycles, which always needs exactly one fewer edge than vertices.

Expert level

How many edges does the complete graph on 5 vertices, K5, have?

Answer10

A complete graph on n vertices has n(n - 1)/2 edges: 5 x 4 / 2 = 10.

A connected graph has an Euler circuit exactly when what is true?

AnswerEvery vertex has even degree

An Euler circuit uses each edge once and returns to the start, which requires entering and leaving each vertex equally.

Know these cold?Today's round is five questions like these, 20 seconds each. Your streak and level follow you to every arena.Play today's round