Can you give me some example that their fundamental group (which is non-trivial) is same but their topological spaces are not homeomorphic? $i.e$, \begin{align} \pi_1(X) = \pi_1 (Y), \qquad X \ncong Y \end{align}
For simply connected space, i know some examples which their fundamental group is same but their topological spaces are not homeomorphic. $i.e$, one such a example is convex set. $e,g$, $R^1$, $R^2$ is simply connected but they are not homeomorphic.
Can you give me some other examples?
If one space is obtained by attaching a free arc to another space at an endpoint of the arc, the two spaces have the same fundamental group (the attached arc can be contracted to the attachment point). If the two spaces are not homeomorphic, you have an example.
So, the circle (like an "O") and the circle with an attached arc (like a "Q") are not homeomorphic but have the same fundamental group (isomorphic to $\mathbb Z$).