Zynga interview question

Define a queen movement in chess using pseudo code?