Someone asked me this question:
Suppose there are $n$ students. Each student must choose 4 courses, and every two students can only have a maximum of one common course. How many courses are needed to satisfy this condition?
I tried to convert this into a graph theory problem but failed to figure it out.