Let $G$ be a group with the property $G=G_e\dot{\cup} G_o$ with $G_oG_o\subseteq G_e\leq G$.
($\dot{\cup}$ denotes disjoint union, $\leq$ is subgroup notation, and $G_o^{-1}=\{x^{-1}: x\in G_o\}$)
We observe that
(1) $G_o^{-1}=G_o$, $G_oG_o=G_e$, $G_oG_e=G_eG_o=G_o$;
(2) $|G:G_e|=2$, $|G|=2|G_o|=2|G_e|$;
(3) $(\mathbb{Z},+)$, $S_n$ and $\mathbb{Z}_{2m}$ enjoy the property.
Now, is there any characterization for such groups?