Generate Pseudocode
This is a simple web app that can generate pseudocode from Latex code. It is based on the grammar of algorithmic.
Latex Code
\begin{algorithm} \caption{indexOf(arr, target)} \begin{algorithmic} \FOR{$i = 0$ to $arr.size - 1$} \IF{$arr[i] == target$} \RETURN $i$ \ENDIF \ENDFOR \RETURN $-1$ \end{algorithmic} \end{algorithm}
Pseudocode
\begin{algorithm} \caption{indexOf(arr, target)} \begin{algorithmic} \FOR{$i = 0$ to $arr.size - 1$} \IF{$arr[i] == target$} \RETURN $i$ \ENDIF \ENDFOR \RETURN $-1$ \end{algorithmic} \end{algorithm}