Suppose the vector boolean function be
$$\begin{align} f:F^n_2 \longrightarrow F_2^n \\ (x_1,\dots ,x_n) \longrightarrow (x_2,\dots x_n,g) \\ \\ g:F^n_2 \longrightarrow F_2 \\ (x_1,\dots ,x_n) \longrightarrow \{0,1\} \end{align}$$
What should be the condition on the Boolean function $g$ so that $f$ becomes bijective i.e. 1-1 and Onto?