If one repeatedly removes a minimum-degree vertex from until no vertices are left, then the largest of the degrees of the vertices at the time of their removal will be exactly , and this method of repeated removal can be used to compute the degeneracy of any graph in linear time.