(1) $A$ is nonempty subset of $\mathbb{R}$.
(2) For all $x<y \in A$ there is $z \notin A$ such that $x<z<y$.
(3) $A$ is perfect.
Then is there homeomorphism between $A$ and cantor set?
Intuitively, I think this is right because $A$ is uncountable because of (3), and set is almost like distinct many points. Which is almost like Cantor set.