Consider the space $(M,d)$ of sequences $x=(x_j :\ j\in\Bbb N),\ x_j\in A~\forall j$, where $A$ is a set, with $$d(x,y)=\begin{cases} \frac{1}{\min\{j\in\Bbb N^*\ :\ x_j\ne y_j\}} &\text{if}~~~ x\ne y \\0 &\text{if}~~~x=y \end{cases}$$
Question: prove that $(M,d)$ is a complete metric space.
My attempt:
Suppose a sequence $(x^{(n)})\subset M$ satisfies $\forall\epsilon>0~\exists N\in\Bbb N~\forall m,n\ge N~d(x^{(n)},x^{(m)})\le\epsilon$ i.e. $\frac{1}{\min\{j\in\Bbb N^*~:x^{(n)}_j\ne x^{(m)}_j\}}\le\epsilon$
I know there is a method where we do an analogy between our sequence and a sequence in $(\Bbb R,|\_|)$, which is complete, and the property of convergence can be passed on to $(x^{(n)})$ but I need a hint