Dear teacher,

are both of the following sentences correct? And what is the difference ?



Have you ever talked to someone you don't know ?

Have you ever talked to someone you didn't know ?

Thank you in advance.