Digraph realization problem
The digraph realization problem is a decision problem in graph theory. Given pairs of nonnegative integers, the problem asks whether there is a labeled simple directed graph such that each vertex has indegree and outdegree.