Problem 3
Every user has degree or , so any two non-adjacent users have neighbor counts summing to at least , forcing a common neighbor by pigeonhole; hence the initial graph is connected. It is not a clique, since a clique on vertices needs degree . By Step 2, only one vertex's degree changes at each toggle, and only by , so the parity of every vertex's degree is fixed forever; a vertex that starts with odd degree can never reach the even degree that a cycle would require of it, so can never become a cycle. By Step 3, we may keep toggling while it stays connected and is not yet a tree, and each such toggle strictly decreases the edge count, so this process must stop: it stops exactly when the graph has become a spanning tree on all vertices.