I am teaching a complexity course, and I want to give some examples of similar looking problems such that one is in P, and the other is NP complete.
This made me think of the following problem: does a given graph contain a spanning tree with a given degree sequence? This is obviously easy for the sequence $n-1,1,...,1$ and hard for $2,...,2,1,1$. Is there a general answer?