\documentclass[border=4pt]{standalone}
\usepackage{ga}
\input{../ee410.tikz}
\begin{document}
\begin{tikzpicture}[x=0.9cm, y=0.8cm]
  \draw[->] (-0.3,0) -- (5.2,0) node[right] {$n$};
  \draw[->] (0,-1.6) -- (0,1.9) node[above] {$x[n]$};
  \foreach \n/\v in {0/1, 1/-1, 2/1, 3/-1, 4/1}
    \draw[stem] (\n,0) -- (\n,\v);
  \node[below left, font=\small] at (0,0) {$0$};
  \foreach \n in {2,4} \node[below right, font=\small] at (\n,0) {$\n$};
  \foreach \n in {1,3} \node[above right, font=\small] at (\n,0) {$\n$};
\end{tikzpicture}
\end{document}
