Consider the space $C([0,1])$ equipped with the uniform norm. Find a sequence of functions $\{g_n\}$ in $C([0,1])$ so that $\overline{\{g_n\}}$ is compact, but $g_n$ does not converge uniformly.
I'm confused about $\overline{\{g_n\}}$ and how to prove its compactness
Thanks!