When two people think about something in a similar way.
Example: “I just had an idea for this project.” “Me too, I had the same idea, I guess great minds think alike.”