Consider the sub-Riemannian Heisenberg group $\mathbb{H}$. In this paper, we answer following question: given a compact set $K \subseteq \mathbb{R}$ and continuous map $f\colon K \to \mathbb{H}$, when is there horizontal $C^m$ curve $F\colon \mathbb{R} \mathbb{H}$ such that $F|\_K = f$? Whitney originally answered question for real valued mappings, Fefferman provided complete functions defined ...