Solution
= Solution
Under the independent uniform-birthday model, condition on the first person's birthday. Exactly one of the second person's $365$ equally likely dates matches, so
$$
\boxed{P(\text{these two birthdays match})=\frac1{365}.}
$$
This concerns one selected pair; the <birthday problem> allowing any pair among all guests is a different event.