I was given to compute the limit $\lim_{n\to\infty}f^n(x)$ with $x\in(0,1)$, where $$f^n(x)=\begin{cases} 0\,\,& x\leq0\\ x\,\,& 0<x<1/n\\ 1\,\,& x\geq1/n \end{cases}.$$
Would the answer simply be $1$? Because $$\lim_{n\to\infty}f^n(x)=\begin{cases} 0\,\,& x\leq0\\ 1\,\,& x>0 \end{cases}$$ and given that $x\in(0,1)$ then we pick $1$ instead of $0$.
If $x\le 0$, then $f_n(x)=0$ for all $n$.
If $x>0$, then $f_n(x)=1$ for all $n$ such that $n\ge \frac{1}{x}.$
Therefore your answer is correct.