# -*- mode: snippet -*-
# name: pseudocode
# key: pseudocode
# --
\begin{algorithm}[H]
\caption{$1}
\begin{algorithmic}[1]
\Function{$2}{}
$3
\State \Return $4
\EndFunction
\end{algorithmic}
\end{algorithm}