0

Lattice walk home
You start at some integer coordinates \$(x,y)\$ on the integer lattice and you want to walk back home to \$(0,0)\$. You may take one step North, South, East, or West. Your goal is to repeatedly do this and end up home.
Given \$(x,y)\$, write code that outputs one of the four d...