My conjecture is that a continuous function is invertible only if it is strictly monotonic.
I assume that this is true, because if a continuous function $f$ is not strictly monotonic, then there must be a point $b$ where for some point $a<b$, and for some point $c>b$, we have $f(a)<f(b)$ and $f(c)<f(b)$. Then because of the intermediate value theorem, there must be some point $d$, where $a<d<b$, and some point $e$, where $b<e<c$, such that $f(d)=f(e)$. (or the inequalities are flipped) In other words, if it is not strictly monontonic, then $f$ must go down after having gone up (or the other way around), and therefore there must be outputs that share the same input.
Is this correct?