Let $G$ and $Q$ be groups, and let $\varphi: \mathbb{Z} G \rightarrow \mathbb{Z} Q$ be a ring homomorphism.
(i) Prove that if $K$ is a $Q$-module, then $\varphi$ equips $K$ with the structure of a $G$-module (which we denote by $\varphi K$ ).
Hint. See Proposition 2.1: if $\sigma: \mathbb{Z} Q \rightarrow \operatorname{End}(K)$, then $\varphi \sigma: \mathbb{Z} G \rightarrow \operatorname{End}(K)$.
(ii) If $G$ and $Q$ are groups with isomorphic group rings, $\mathbb{Z} G \cong$ $\mathbb{Z} Q$, prove that $G$ and $Q$ have the same homology and the same cohomology: for every $G$-module $K, H_{n}(G, \varphi K) \cong$ $H_{n}(Q, K)$ and $H^{n}\left(G,{ }^{\varphi} K\right) \cong H^{n}(Q, K)$.
(iii) If $G$ and $Q$ are abelian groups with isomorphic group rings, prove that $G \cong Q$.
Hint. $H_{1}(G, \mathbb{Z}) \cong H_{1}(Q, \mathbb{Z})$.
There exist nonisomorphic finite groups whose integral group rings are isomorphic [see M. Hertweck, "A counterexample to the isomorphism problem for integral group rings," Annals Math 154 (2001), 115-138].