For this sets determine in each case if G is a Gröbner base of <G>:

G=\{ x^4y^2-z^5, x^3y^3-1,x^2y^4-2z\}

G=\{ x-z^2, y-z^3\}

thanks!